mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
L'ipv6 n'est pas unique au niveau bdd pour if serveurs multiples
This commit is contained in:
parent
6ddf9d48d1
commit
efbd0a18da
2 changed files with 20 additions and 1 deletions
20
machines/migrations/0090_auto_20180805_1459.py
Normal file
20
machines/migrations/0090_auto_20180805_1459.py
Normal 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'),
|
||||
),
|
||||
]
|
|
@ -1192,7 +1192,6 @@ class Ipv6List(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
|
|||
|
||||
ipv6 = models.GenericIPAddressField(
|
||||
protocol='IPv6',
|
||||
unique=True
|
||||
)
|
||||
interface = models.ForeignKey(
|
||||
'Interface',
|
||||
|
|
Loading…
Reference in a new issue