5252)
5353
5454
55- class RegionBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
55+ class RegionBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
5656 pk = forms .ModelMultipleChoiceField (
5757 queryset = Region .objects .all (),
5858 widget = forms .MultipleHiddenInput
@@ -70,7 +70,7 @@ class Meta:
7070 nullable_fields = ['parent' , 'description' ]
7171
7272
73- class SiteGroupBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
73+ class SiteGroupBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
7474 pk = forms .ModelMultipleChoiceField (
7575 queryset = SiteGroup .objects .all (),
7676 widget = forms .MultipleHiddenInput
@@ -88,7 +88,7 @@ class Meta:
8888 nullable_fields = ['parent' , 'description' ]
8989
9090
91- class SiteBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
91+ class SiteBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
9292 pk = forms .ModelMultipleChoiceField (
9393 queryset = Site .objects .all (),
9494 widget = forms .MultipleHiddenInput
@@ -138,7 +138,7 @@ class Meta:
138138 ]
139139
140140
141- class LocationBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
141+ class LocationBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
142142 pk = forms .ModelMultipleChoiceField (
143143 queryset = Location .objects .all (),
144144 widget = forms .MultipleHiddenInput
@@ -167,7 +167,7 @@ class Meta:
167167 nullable_fields = ['parent' , 'tenant' , 'description' ]
168168
169169
170- class RackRoleBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
170+ class RackRoleBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
171171 pk = forms .ModelMultipleChoiceField (
172172 queryset = RackRole .objects .all (),
173173 widget = forms .MultipleHiddenInput
@@ -184,7 +184,7 @@ class Meta:
184184 nullable_fields = ['color' , 'description' ]
185185
186186
187- class RackBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
187+ class RackBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
188188 pk = forms .ModelMultipleChoiceField (
189189 queryset = Rack .objects .all (),
190190 widget = forms .MultipleHiddenInput
@@ -284,7 +284,7 @@ class Meta:
284284 ]
285285
286286
287- class RackReservationBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
287+ class RackReservationBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
288288 pk = forms .ModelMultipleChoiceField (
289289 queryset = RackReservation .objects .all (),
290290 widget = forms .MultipleHiddenInput ()
@@ -309,7 +309,7 @@ class Meta:
309309 nullable_fields = []
310310
311311
312- class ManufacturerBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
312+ class ManufacturerBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
313313 pk = forms .ModelMultipleChoiceField (
314314 queryset = Manufacturer .objects .all (),
315315 widget = forms .MultipleHiddenInput
@@ -323,7 +323,7 @@ class Meta:
323323 nullable_fields = ['description' ]
324324
325325
326- class DeviceTypeBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
326+ class DeviceTypeBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
327327 pk = forms .ModelMultipleChoiceField (
328328 queryset = DeviceType .objects .all (),
329329 widget = forms .MultipleHiddenInput ()
@@ -351,7 +351,7 @@ class Meta:
351351 nullable_fields = ['airflow' ]
352352
353353
354- class DeviceRoleBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
354+ class DeviceRoleBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
355355 pk = forms .ModelMultipleChoiceField (
356356 queryset = DeviceRole .objects .all (),
357357 widget = forms .MultipleHiddenInput
@@ -373,7 +373,7 @@ class Meta:
373373 nullable_fields = ['color' , 'description' ]
374374
375375
376- class PlatformBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
376+ class PlatformBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
377377 pk = forms .ModelMultipleChoiceField (
378378 queryset = Platform .objects .all (),
379379 widget = forms .MultipleHiddenInput
@@ -396,7 +396,7 @@ class Meta:
396396 nullable_fields = ['manufacturer' , 'napalm_driver' , 'description' ]
397397
398398
399- class DeviceBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
399+ class DeviceBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
400400 pk = forms .ModelMultipleChoiceField (
401401 queryset = Device .objects .all (),
402402 widget = forms .MultipleHiddenInput ()
@@ -457,7 +457,7 @@ class Meta:
457457 ]
458458
459459
460- class CableBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
460+ class CableBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
461461 pk = forms .ModelMultipleChoiceField (
462462 queryset = Cable .objects .all (),
463463 widget = forms .MultipleHiddenInput
@@ -513,7 +513,7 @@ def clean(self):
513513 })
514514
515515
516- class VirtualChassisBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
516+ class VirtualChassisBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
517517 pk = forms .ModelMultipleChoiceField (
518518 queryset = VirtualChassis .objects .all (),
519519 widget = forms .MultipleHiddenInput ()
@@ -527,7 +527,7 @@ class Meta:
527527 nullable_fields = ['domain' ]
528528
529529
530- class PowerPanelBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
530+ class PowerPanelBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
531531 pk = forms .ModelMultipleChoiceField (
532532 queryset = PowerPanel .objects .all (),
533533 widget = forms .MultipleHiddenInput
@@ -566,7 +566,7 @@ class Meta:
566566 nullable_fields = ['location' ]
567567
568568
569- class PowerFeedBulkEditForm (BootstrapMixin , AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
569+ class PowerFeedBulkEditForm (AddRemoveTagsForm , CustomFieldModelBulkEditForm ):
570570 pk = forms .ModelMultipleChoiceField (
571571 queryset = PowerFeed .objects .all (),
572572 widget = forms .MultipleHiddenInput
@@ -631,7 +631,7 @@ class Meta:
631631# Device component templates
632632#
633633
634- class ConsolePortTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
634+ class ConsolePortTemplateBulkEditForm (BulkEditForm ):
635635 pk = forms .ModelMultipleChoiceField (
636636 queryset = ConsolePortTemplate .objects .all (),
637637 widget = forms .MultipleHiddenInput ()
@@ -650,7 +650,7 @@ class Meta:
650650 nullable_fields = ('label' , 'type' , 'description' )
651651
652652
653- class ConsoleServerPortTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
653+ class ConsoleServerPortTemplateBulkEditForm (BulkEditForm ):
654654 pk = forms .ModelMultipleChoiceField (
655655 queryset = ConsoleServerPortTemplate .objects .all (),
656656 widget = forms .MultipleHiddenInput ()
@@ -672,7 +672,7 @@ class Meta:
672672 nullable_fields = ('label' , 'type' , 'description' )
673673
674674
675- class PowerPortTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
675+ class PowerPortTemplateBulkEditForm (BulkEditForm ):
676676 pk = forms .ModelMultipleChoiceField (
677677 queryset = PowerPortTemplate .objects .all (),
678678 widget = forms .MultipleHiddenInput ()
@@ -704,7 +704,7 @@ class Meta:
704704 nullable_fields = ('label' , 'type' , 'maximum_draw' , 'allocated_draw' , 'description' )
705705
706706
707- class PowerOutletTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
707+ class PowerOutletTemplateBulkEditForm (BulkEditForm ):
708708 pk = forms .ModelMultipleChoiceField (
709709 queryset = PowerOutletTemplate .objects .all (),
710710 widget = forms .MultipleHiddenInput ()
@@ -752,7 +752,7 @@ def __init__(self, *args, **kwargs):
752752 self .fields ['power_port' ].widget .attrs ['disabled' ] = True
753753
754754
755- class InterfaceTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
755+ class InterfaceTemplateBulkEditForm (BulkEditForm ):
756756 pk = forms .ModelMultipleChoiceField (
757757 queryset = InterfaceTemplate .objects .all (),
758758 widget = forms .MultipleHiddenInput ()
@@ -779,7 +779,7 @@ class Meta:
779779 nullable_fields = ('label' , 'description' )
780780
781781
782- class FrontPortTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
782+ class FrontPortTemplateBulkEditForm (BulkEditForm ):
783783 pk = forms .ModelMultipleChoiceField (
784784 queryset = FrontPortTemplate .objects .all (),
785785 widget = forms .MultipleHiddenInput ()
@@ -804,7 +804,7 @@ class Meta:
804804 nullable_fields = ('description' ,)
805805
806806
807- class RearPortTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
807+ class RearPortTemplateBulkEditForm (BulkEditForm ):
808808 pk = forms .ModelMultipleChoiceField (
809809 queryset = RearPortTemplate .objects .all (),
810810 widget = forms .MultipleHiddenInput ()
@@ -829,7 +829,7 @@ class Meta:
829829 nullable_fields = ('description' ,)
830830
831831
832- class DeviceBayTemplateBulkEditForm (BootstrapMixin , BulkEditForm ):
832+ class DeviceBayTemplateBulkEditForm (BulkEditForm ):
833833 pk = forms .ModelMultipleChoiceField (
834834 queryset = DeviceBayTemplate .objects .all (),
835835 widget = forms .MultipleHiddenInput ()
@@ -852,7 +852,6 @@ class Meta:
852852
853853class ConsolePortBulkEditForm (
854854 form_from_model (ConsolePort , ['label' , 'type' , 'speed' , 'mark_connected' , 'description' ]),
855- BootstrapMixin ,
856855 AddRemoveTagsForm ,
857856 CustomFieldModelBulkEditForm
858857):
@@ -871,7 +870,6 @@ class Meta:
871870
872871class ConsoleServerPortBulkEditForm (
873872 form_from_model (ConsoleServerPort , ['label' , 'type' , 'speed' , 'mark_connected' , 'description' ]),
874- BootstrapMixin ,
875873 AddRemoveTagsForm ,
876874 CustomFieldModelBulkEditForm
877875):
@@ -890,7 +888,6 @@ class Meta:
890888
891889class PowerPortBulkEditForm (
892890 form_from_model (PowerPort , ['label' , 'type' , 'maximum_draw' , 'allocated_draw' , 'mark_connected' , 'description' ]),
893- BootstrapMixin ,
894891 AddRemoveTagsForm ,
895892 CustomFieldModelBulkEditForm
896893):
@@ -909,7 +906,6 @@ class Meta:
909906
910907class PowerOutletBulkEditForm (
911908 form_from_model (PowerOutlet , ['label' , 'type' , 'feed_leg' , 'power_port' , 'mark_connected' , 'description' ]),
912- BootstrapMixin ,
913909 AddRemoveTagsForm ,
914910 CustomFieldModelBulkEditForm
915911):
@@ -948,7 +944,6 @@ class InterfaceBulkEditForm(
948944 'label' , 'type' , 'parent' , 'bridge' , 'lag' , 'mac_address' , 'wwn' , 'mtu' , 'mgmt_only' , 'mark_connected' ,
949945 'description' , 'mode' , 'rf_role' , 'rf_channel' , 'rf_channel_frequency' , 'rf_channel_width' , 'tx_power' ,
950946 ]),
951- BootstrapMixin ,
952947 AddRemoveTagsForm ,
953948 CustomFieldModelBulkEditForm
954949):
@@ -1061,7 +1056,6 @@ def clean(self):
10611056
10621057class FrontPortBulkEditForm (
10631058 form_from_model (FrontPort , ['label' , 'type' , 'color' , 'mark_connected' , 'description' ]),
1064- BootstrapMixin ,
10651059 AddRemoveTagsForm ,
10661060 CustomFieldModelBulkEditForm
10671061):
@@ -1076,7 +1070,6 @@ class Meta:
10761070
10771071class RearPortBulkEditForm (
10781072 form_from_model (RearPort , ['label' , 'type' , 'color' , 'mark_connected' , 'description' ]),
1079- BootstrapMixin ,
10801073 AddRemoveTagsForm ,
10811074 CustomFieldModelBulkEditForm
10821075):
@@ -1091,7 +1084,6 @@ class Meta:
10911084
10921085class DeviceBayBulkEditForm (
10931086 form_from_model (DeviceBay , ['label' , 'description' ]),
1094- BootstrapMixin ,
10951087 AddRemoveTagsForm ,
10961088 CustomFieldModelBulkEditForm
10971089):
@@ -1106,7 +1098,6 @@ class Meta:
11061098
11071099class InventoryItemBulkEditForm (
11081100 form_from_model (InventoryItem , ['label' , 'manufacturer' , 'part_id' , 'description' ]),
1109- BootstrapMixin ,
11101101 AddRemoveTagsForm ,
11111102 CustomFieldModelBulkEditForm
11121103):
0 commit comments