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

Fixes #80: Correct rack face (lowercase) to be consistent with export behavior (uppercase)

This commit is contained in:
Jeremy Stretch
2016-06-28 11:38:09 -04:00
parent 0eb8227044
commit 374702927b

View File

@@ -424,7 +424,7 @@ class DeviceFromCSVForm(forms.ModelForm):
'invalid_choice': 'Invalid site name.',
})
rack_name = forms.CharField()
face = forms.ChoiceField(choices=[('front', 'Front'), ('rear', 'Rear')])
face = forms.ChoiceField(choices=[('Front', 'Front'), ('Rear', 'Rear')])
class Meta:
model = Device