mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-20 03:36:16 +00:00
Refactor URL routing: break main urls.py into app-specific includes
This commit is contained in:
8
wireguard/urls_root.py
Normal file
8
wireguard/urls_root.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.urls import path
|
||||
|
||||
from wireguard.views import view_apply_db_patches, view_wireguard_status
|
||||
|
||||
urlpatterns = [
|
||||
path('', view_apply_db_patches, name='apply_db_patches'),
|
||||
path('status/', view_wireguard_status, name='wireguard_status'),
|
||||
]
|
||||
Reference in New Issue
Block a user