8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

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

This commit is contained in:
Gabriel Detraz 2018-08-07 00:08:37 +02:00 committed by root
parent 6ddf9d48d1
commit efbd0a18da
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- 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'),
),
]

View file

@ -1192,7 +1192,6 @@ class Ipv6List(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
ipv6 = models.GenericIPAddressField(
protocol='IPv6',
unique=True
)
interface = models.ForeignKey(
'Interface',