1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2616: Convert Rack outer_unit and Cable length_unit to integer-based choice fields

This commit is contained in:
Jeremy Stretch
2018-11-30 12:26:28 -05:00
parent a1a9396287
commit d1cd366dc9
5 changed files with 19 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='rack',
name='outer_unit',
field=models.CharField(blank=True, max_length=2),
field=models.PositiveSmallIntegerField(blank=True, null=True),
),
migrations.AddField(
model_name='rack',