Allow interface mode to be null (for routed interfaces)

This commit is contained in:
Jeremy Stretch
2018-01-25 11:45:12 -05:00
parent 9a6a479452
commit 4a57a554da
3 changed files with 10 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='interface',
name='mode',
field=models.PositiveSmallIntegerField(choices=[[100, 'Access'], [200, 'Tagged'], [300, 'Tagged All']], default=100),
field=models.PositiveSmallIntegerField(blank=True, choices=[[100, 'Access'], [200, 'Tagged'], [300, 'Tagged All']], null=True),
),
migrations.AddField(
model_name='interface',