8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-06-02 16:02:16 +00:00

Pas de null sur manytomany

This commit is contained in:
Gabriel Detraz 2018-06-26 17:12:52 +00:00 committed by Hugo LEVY-FALK
parent 4c3f9f6540
commit 860385bffe
2 changed files with 1 additions and 2 deletions

View file

@ -31,7 +31,7 @@ class Migration(migrations.Migration):
('arp_protect', models.BooleanField(default=False, help_text="Verification assignation de l'IP par dhcp", verbose_name='Arp protect')),
('ra_guard', models.BooleanField(default=False, help_text='Protection contre ra pirate', verbose_name='Ra guard')),
('loop_protect', models.BooleanField(default=False, help_text='Protection contre les boucles', verbose_name='Loop Protect')),
('vlan_tagged', models.ManyToManyField(blank=True, null=True, related_name='vlan_tagged', to='machines.Vlan', verbose_name='VLAN(s) tagged')),
('vlan_tagged', models.ManyToManyField(blank=True, related_name='vlan_tagged', to='machines.Vlan', verbose_name='VLAN(s) tagged')),
('vlan_untagged', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='vlan_untagged', to='machines.Vlan', verbose_name='VLAN untagged')),
],
options={

View file

@ -541,7 +541,6 @@ class PortProfile(AclMixin, RevMixin, models.Model):
'machines.Vlan',
related_name='vlan_tagged',
blank=True,
null=True,
verbose_name=_("VLAN(s) tagged")
)
radius_type = models.CharField(