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:
@@ -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
|
||||
|
Reference in New Issue
Block a user