2021-10-12 12:27:12 -04:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from extras.views import ObjectChangeLogView, ObjectJournalView
|
|
|
|
from . import views
|
|
|
|
from .models import *
|
|
|
|
|
|
|
|
app_name = 'wireless'
|
|
|
|
urlpatterns = (
|
|
|
|
|
2021-10-12 17:02:53 -04:00
|
|
|
# Wireless LANs
|
|
|
|
path('wireless-lans/', views.WirelessLANListView.as_view(), name='wirelesslan_list'),
|
|
|
|
path('wireless-lans/add/', views.WirelessLANEditView.as_view(), name='wirelesslan_add'),
|
|
|
|
path('wireless-lans/import/', views.WirelessLANBulkImportView.as_view(), name='wirelesslan_import'),
|
|
|
|
path('wireless-lans/edit/', views.WirelessLANBulkEditView.as_view(), name='wirelesslan_bulk_edit'),
|
|
|
|
path('wireless-lans/delete/', views.WirelessLANBulkDeleteView.as_view(), name='wirelesslan_bulk_delete'),
|
|
|
|
path('wireless-lans/<int:pk>/', views.WirelessLANView.as_view(), name='wirelesslan'),
|
|
|
|
path('wireless-lans/<int:pk>/edit/', views.WirelessLANEditView.as_view(), name='wirelesslan_edit'),
|
|
|
|
path('wireless-lans/<int:pk>/delete/', views.WirelessLANDeleteView.as_view(), name='wirelesslan_delete'),
|
|
|
|
path('wireless-lans/<int:pk>/changelog/', ObjectChangeLogView.as_view(), name='wirelesslan_changelog', kwargs={'model': WirelessLAN}),
|
|
|
|
path('wireless-lans/<int:pk>/journal/', ObjectJournalView.as_view(), name='wirelesslan_journal', kwargs={'model': WirelessLAN}),
|
2021-10-12 12:27:12 -04:00
|
|
|
|
|
|
|
)
|