mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-19 19:26:17 +00:00
Refactor URL routing: break main urls.py into app-specific includes
This commit is contained in:
11
accounts/urls.py
Normal file
11
accounts/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from accounts.views import view_create_first_user, view_login, view_logout
|
||||
from api.views import routerfleet_authenticate_session
|
||||
|
||||
urlpatterns = [
|
||||
path('create_first_user/', view_create_first_user, name='create_first_user'),
|
||||
path('login/', view_login, name='login'),
|
||||
path('logout/', view_logout, name='logout'),
|
||||
path('routerfleet_authenticate_session/', routerfleet_authenticate_session, name='routerfleet_authenticate_session'),
|
||||
]
|
||||
Reference in New Issue
Block a user