Form cleanup and fixed child device import
This commit is contained in:
@@ -117,7 +117,7 @@ class CircuitCSVForm(forms.ModelForm):
|
||||
type = forms.ModelChoiceField(
|
||||
queryset=CircuitType.objects.all(),
|
||||
to_field_name='name',
|
||||
help_text='Name of circuit type',
|
||||
help_text='Type of circuit',
|
||||
error_messages={
|
||||
'invalid_choice': 'Invalid circuit type.'
|
||||
}
|
||||
|
Reference in New Issue
Block a user