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

Rack.status to slug (#3569)

This commit is contained in:
Jeremy Stretch
2019-11-15 21:28:34 -05:00
parent 62b45494b6
commit 8d27b62114
6 changed files with 68 additions and 21 deletions

View File

@@ -487,7 +487,7 @@ class RackCSVForm(forms.ModelForm):
}
)
type = CSVChoiceField(
choices=RACK_TYPE_CHOICES,
choices=RackTypeChoices,
required=False,
help_text='Rack type'
)
@@ -593,7 +593,7 @@ class RackBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEditFor
required=False
)
type = forms.ChoiceField(
choices=add_blank_choice(RACK_TYPE_CHOICES),
choices=add_blank_choice(RackTypeChoices),
required=False,
widget=StaticSelect2()
)