mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Fixes #80: Correct rack face (lowercase) to be consistent with export behavior (uppercase)
This commit is contained in:
parent
0eb8227044
commit
374702927b
@ -424,7 +424,7 @@ class DeviceFromCSVForm(forms.ModelForm):
|
|||||||
'invalid_choice': 'Invalid site name.',
|
'invalid_choice': 'Invalid site name.',
|
||||||
})
|
})
|
||||||
rack_name = forms.CharField()
|
rack_name = forms.CharField()
|
||||||
face = forms.ChoiceField(choices=[('front', 'Front'), ('rear', 'Rear')])
|
face = forms.ChoiceField(choices=[('Front', 'Front'), ('Rear', 'Rear')])
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Device
|
model = Device
|
||||||
|
Loading…
Reference in New Issue
Block a user