2022-10-06 16:21:23 -04:00
|
|
|
from django.urls import include, path
|
2021-10-12 12:27:12 -04:00
|
|
|
|
2022-10-06 16:21:23 -04:00
|
|
|
from utilities.urls import get_model_urls
|
2021-10-12 12:27:12 -04:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'wireless'
|
|
|
|
urlpatterns = (
|
|
|
|
|
2021-10-13 16:40:12 -04:00
|
|
|
# Wireless LAN groups
|
|
|
|
path('wireless-lan-groups/', views.WirelessLANGroupListView.as_view(), name='wirelesslangroup_list'),
|
|
|
|
path('wireless-lan-groups/add/', views.WirelessLANGroupEditView.as_view(), name='wirelesslangroup_add'),
|
|
|
|
path('wireless-lan-groups/import/', views.WirelessLANGroupBulkImportView.as_view(), name='wirelesslangroup_import'),
|
|
|
|
path('wireless-lan-groups/edit/', views.WirelessLANGroupBulkEditView.as_view(), name='wirelesslangroup_bulk_edit'),
|
|
|
|
path('wireless-lan-groups/delete/', views.WirelessLANGroupBulkDeleteView.as_view(), name='wirelesslangroup_bulk_delete'),
|
2022-10-06 16:21:23 -04:00
|
|
|
path('wireless-lan-groups/<int:pk>/', include(get_model_urls('wireless', 'wirelesslangroup'))),
|
2021-10-13 16:40:12 -04:00
|
|
|
|
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'),
|
2022-10-06 16:21:23 -04:00
|
|
|
path('wireless-lans/<int:pk>/', include(get_model_urls('wireless', 'wirelesslan'))),
|
2021-10-12 12:27:12 -04:00
|
|
|
|
2021-10-13 09:46:17 -04:00
|
|
|
# Wireless links
|
|
|
|
path('wireless-links/', views.WirelessLinkListView.as_view(), name='wirelesslink_list'),
|
|
|
|
path('wireless-links/add/', views.WirelessLinkEditView.as_view(), name='wirelesslink_add'),
|
|
|
|
path('wireless-links/import/', views.WirelessLinkBulkImportView.as_view(), name='wirelesslink_import'),
|
|
|
|
path('wireless-links/edit/', views.WirelessLinkBulkEditView.as_view(), name='wirelesslink_bulk_edit'),
|
|
|
|
path('wireless-links/delete/', views.WirelessLinkBulkDeleteView.as_view(), name='wirelesslink_bulk_delete'),
|
2022-10-06 16:21:23 -04:00
|
|
|
path('wireless-links/<int:pk>/', include(get_model_urls('wireless', 'wirelesslink'))),
|
2021-10-13 09:46:17 -04:00
|
|
|
|
2021-10-12 12:27:12 -04:00
|
|
|
)
|