Converted remaining legacy views to class-based views for the DCIM app

This commit is contained in:
Jeremy Stretch
2017-12-21 15:08:05 -05:00
parent e5d6bffdf8
commit b4e0ef6e56
4 changed files with 332 additions and 220 deletions

View File

@@ -2105,11 +2105,6 @@ class InterfaceConnectionCSVForm(forms.ModelForm):
return interface
class InterfaceConnectionDeletionForm(ConfirmationForm):
# Used for HTTP redirect upon successful deletion
device = forms.ModelChoiceField(queryset=Device.objects.all(), widget=forms.HiddenInput(), required=False)
#
# Device bays
#