From 3cdda6d670e7b59a70b20541a852fccc550df4d9 Mon Sep 17 00:00:00 2001 From: Chris Russell Date: Tue, 3 Dec 2024 16:30:52 +0000 Subject: [PATCH] fix linting errors --- netbox_floorplan/urls.py | 82 ++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/netbox_floorplan/urls.py b/netbox_floorplan/urls.py index c4627a8..1a131f3 100644 --- a/netbox_floorplan/urls.py +++ b/netbox_floorplan/urls.py @@ -3,45 +3,45 @@ from netbox.views.generic import ObjectChangeLogView urlpatterns = ( - path('floorplans/', - views.FloorplanListView.as_view(), - name='floorplan_list'), - path('floorplans/racks/', - views.FloorplanRackListView.as_view(), - name='floorplan_rack_list'), - path('floorplans/devices/', - views.FloorplanDeviceListView.as_view(), - name='floorplan_device_list'), - path('floorplans/add/', - views.FloorplanAddView.as_view(), - name='floorplan_add'), - path('floorplans//edit/', - views.FloorplanMapEditView.as_view(), - name='floorplan_edit'), - path('floorplans//delete/', - views.FloorplanDeleteView.as_view(), - name='floorplan_delete'), - path('floorplans//changelog/', - ObjectChangeLogView.as_view(), - name='floorplan_changelog', - kwargs={'model': models.Floorplan}), - path('floorplans/floorplanimages/', - views.FloorplanImageListView.as_view(), - name='floorplanimage_list'), - path('floorplans/floorplanimages/add/', - views.FloorplanImageEditView.as_view(), - name='floorplanimage_add'), - path('floorplans/floorplanimages//edit/', - views.FloorplanImageEditView.as_view(), - name='floorplanimage_edit'), - path('floorplans/floorplanimages//delete/', - views.FloorplanImageDeleteView.as_view(), - name='floorplanimage_delete'), - path('floorplans/floorplanimages//', - views.FloorplanImageView.as_view(), - name='floorplanimage'), - path('floorplans/floorplanimages//changelog/', - ObjectChangeLogView.as_view(), - name='floorplanimage_changelog', - kwargs={'model': models.FloorplanImage}) + path('floorplans/', + views.FloorplanListView.as_view(), + name='floorplan_list'), + path('floorplans/racks/', + views.FloorplanRackListView.as_view(), + name='floorplan_rack_list'), + path('floorplans/devices/', + views.FloorplanDeviceListView.as_view(), + name='floorplan_device_list'), + path('floorplans/add/', + views.FloorplanAddView.as_view(), + name='floorplan_add'), + path('floorplans//edit/', + views.FloorplanMapEditView.as_view(), + name='floorplan_edit'), + path('floorplans//delete/', + views.FloorplanDeleteView.as_view(), + name='floorplan_delete'), + path('floorplans//changelog/', + ObjectChangeLogView.as_view(), + name='floorplan_changelog', + kwargs={'model': models.Floorplan}), + path('floorplans/floorplanimages/', + views.FloorplanImageListView.as_view(), + name='floorplanimage_list'), + path('floorplans/floorplanimages/add/', + views.FloorplanImageEditView.as_view(), + name='floorplanimage_add'), + path('floorplans/floorplanimages//edit/', + views.FloorplanImageEditView.as_view(), + name='floorplanimage_edit'), + path('floorplans/floorplanimages//delete/', + views.FloorplanImageDeleteView.as_view(), + name='floorplanimage_delete'), + path('floorplans/floorplanimages//', + views.FloorplanImageView.as_view(), + name='floorplanimage'), + path('floorplans/floorplanimages//changelog/', + ObjectChangeLogView.as_view(), + name='floorplanimage_changelog', + kwargs={'model': models.FloorplanImage}) )