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

Fix form rendering; enable toggling of redirect to imported object

This commit is contained in:
Jeremy Stretch
2019-09-24 15:58:23 -04:00
parent 5049c6c0a1
commit 15b2a7eab0
3 changed files with 13 additions and 4 deletions

View File

@@ -941,7 +941,7 @@ class RearPortTemplateImportForm(ComponentTemplateImportForm):
]
class DeviceTypeImportForm(forms.ModelForm):
class DeviceTypeImportForm(BootstrapMixin, forms.ModelForm):
manufacturer = forms.ModelChoiceField(
queryset=Manufacturer.objects.all(),
to_field_name='name'