From 8acb3519dcd3de847ca15f1d90602ffa08162a06 Mon Sep 17 00:00:00 2001 From: Florian Domain Date: Mon, 5 Aug 2024 10:17:39 +0200 Subject: [PATCH] style: black reformatting --- netbox_cmdb/netbox_cmdb/forms.py | 1 + netbox_cmdb/netbox_cmdb/urls.py | 2 +- netbox_cmdb/netbox_cmdb/views.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/netbox_cmdb/netbox_cmdb/forms.py b/netbox_cmdb/netbox_cmdb/forms.py index a8952e6..78b1c65 100644 --- a/netbox_cmdb/netbox_cmdb/forms.py +++ b/netbox_cmdb/netbox_cmdb/forms.py @@ -128,6 +128,7 @@ class Meta: "description", ] + class RoutePolicyFilterSetForm(NetBoxModelFilterSetForm): device__id = DynamicModelMultipleChoiceField( queryset=Device.objects.all(), diff --git a/netbox_cmdb/netbox_cmdb/urls.py b/netbox_cmdb/netbox_cmdb/urls.py index 676f87a..fced042 100644 --- a/netbox_cmdb/netbox_cmdb/urls.py +++ b/netbox_cmdb/netbox_cmdb/urls.py @@ -191,5 +191,5 @@ ObjectChangeLogView.as_view(), name="snmpcommunity_changelog", kwargs={"model": SNMPCommunity}, - ) + ), ] diff --git a/netbox_cmdb/netbox_cmdb/views.py b/netbox_cmdb/netbox_cmdb/views.py index 486c391..5a6de8b 100644 --- a/netbox_cmdb/netbox_cmdb/views.py +++ b/netbox_cmdb/netbox_cmdb/views.py @@ -184,6 +184,7 @@ class RoutePolicyEditView(ObjectEditView): form = RoutePolicyForm filterset = RoutePolicyFilterSet + class RoutePolicyDeleteView(ObjectDeleteView): queryset = RoutePolicy.objects.all()