Commit efbd0a18 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

L'ipv6 n'est pas unique au niveau bdd pour if serveurs multiples

parent 6ddf9d48
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-08-05 12:59
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('machines', '0089_auto_20180805_1148'),
]
operations = [
migrations.AlterField(
model_name='ipv6list',
name='ipv6',
field=models.GenericIPAddressField(protocol='IPv6'),
),
]
......@@ -1192,7 +1192,6 @@ class Ipv6List(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
ipv6 = models.GenericIPAddressField(
protocol='IPv6',
unique=True
)
interface = models.ForeignKey(
'Interface',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment