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

Form cleanup and fixed child device import

This commit is contained in:
Jeremy Stretch
2017-06-07 15:30:28 -04:00
parent 0a6e4f31d5
commit 293be752ca
3 changed files with 27 additions and 21 deletions

View File

@ -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.'
}