mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Merge branch 'non_uniq_ipv6' into 'dev'
L'ipv6 n'est pas unique au niveau bdd pour if serveurs multiples See merge request federez/re2o!228
This commit is contained in:
commit
d4a90d1faf
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