Skip to content

Commit

Permalink
style: black reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fdomain committed Aug 5, 2024
1 parent fe1ba15 commit 8acb351
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions netbox_cmdb/netbox_cmdb/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class Meta:
"description",
]


class RoutePolicyFilterSetForm(NetBoxModelFilterSetForm):
device__id = DynamicModelMultipleChoiceField(
queryset=Device.objects.all(),
Expand Down
2 changes: 1 addition & 1 deletion netbox_cmdb/netbox_cmdb/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@
ObjectChangeLogView.as_view(),
name="snmpcommunity_changelog",
kwargs={"model": SNMPCommunity},
)
),
]
1 change: 1 addition & 0 deletions netbox_cmdb/netbox_cmdb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class RoutePolicyEditView(ObjectEditView):
form = RoutePolicyForm
filterset = RoutePolicyFilterSet


class RoutePolicyDeleteView(ObjectDeleteView):
queryset = RoutePolicy.objects.all()

Expand Down

0 comments on commit 8acb351

Please sign in to comment.