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

Added length and length_unit fields to Cable

This commit is contained in:
Jeremy Stretch
2018-10-26 10:28:25 -04:00
parent 2d90fc608e
commit 6bea8cc546
9 changed files with 97 additions and 8 deletions

View File

@@ -2211,7 +2211,7 @@ class CableForm(BootstrapMixin, forms.ModelForm):
class Meta:
model = Cable
fields = ('type', 'status', 'label', 'color')
fields = ('type', 'status', 'label', 'color', 'length', 'length_unit')
class CableFilterForm(BootstrapMixin, forms.Form):