From 142b29930ee1232939c9b867ac082ac262bea6ef Mon Sep 17 00:00:00 2001 From: Kevin Petremann Date: Wed, 21 Aug 2024 13:10:36 +0200 Subject: [PATCH] chore: fix typo --- netbox_cmdb/netbox_cmdb/urls.py | 4 ++-- netbox_cmdb/netbox_cmdb/views.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/netbox_cmdb/netbox_cmdb/urls.py b/netbox_cmdb/netbox_cmdb/urls.py index 5324fcb..eac2fe6 100644 --- a/netbox_cmdb/netbox_cmdb/urls.py +++ b/netbox_cmdb/netbox_cmdb/urls.py @@ -24,7 +24,7 @@ DeviceBGPSessionEditView, DeviceBGPSessionListView, DeviceBGPSessionView, - DeviecBGPSessionDeleteView, + DeviceBGPSessionDeleteView, RoutePolicyDeleteView, RoutePolicyEditView, RoutePolicyListView, @@ -99,7 +99,7 @@ ), path( "device-bgp-session//delete", - DeviecBGPSessionDeleteView.as_view(), + DeviceBGPSessionDeleteView.as_view(), name="devicebgpsession_delete", ), path( diff --git a/netbox_cmdb/netbox_cmdb/views.py b/netbox_cmdb/netbox_cmdb/views.py index a14ce5f..47ee2c5 100644 --- a/netbox_cmdb/netbox_cmdb/views.py +++ b/netbox_cmdb/netbox_cmdb/views.py @@ -232,11 +232,11 @@ class DeviceBGPSessionEditView(ObjectEditView): filterset = DeviceBGPSessionFilterSet -class DeviecBGPSessionDeleteView(ObjectDeleteView): +class DeviceBGPSessionDeleteView(ObjectDeleteView): queryset = DeviceBGPSession.objects.all() -class DeviecBGPSessionBulkDeleteView(BulkDeleteView): +class DeviceBGPSessionBulkDeleteView(BulkDeleteView): queryset = DeviceBGPSession.objects.all() filterset = DeviceBGPSessionFilterSet table = DeviceBGPSessionTable