Files
links/netscan/urls.py
T
2026-03-21 16:41:14 +11:00

15 lines
918 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('', views.DashboardView.as_view(), name='netscan-dashboard'),
path('profile/new/', views.ProfileCreateView.as_view(), name='netscan-profile-create'),
path('profile/<int:pk>/edit/', views.ProfileUpdateView.as_view(), name='netscan-profile-edit'),
path('profile/<int:pk>/delete/', views.ProfileDeleteView.as_view(), name='netscan-profile-delete'),
path('profile/<int:pk>/runs/', views.ScanRunListView.as_view(), name='netscan-run-list'),
path('profile/<int:pk>/trigger/', views.TriggerScanView.as_view(), name='netscan-trigger'),
path('profile/<int:pk>/test-telegram/', views.TestTelegramView.as_view(), name='netscan-test-telegram'),
path('detect-network/', views.DetectNetworkView.as_view(), name='netscan-detect-network'),
path('run/<int:pk>/', views.ScanRunDetailView.as_view(), name='netscan-run-detail'),
]