2024-10-03 15:46:02 +00:00
|
|
|
from django.urls import path
|
|
|
|
from admin import views
|
|
|
|
|
|
|
|
app_name = 'admin'
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("panel/", views.PanelView.as_view(), name="panel"),
|
|
|
|
path("users/", views.UsersView.as_view(), name="users"),
|
2024-10-07 14:56:24 +00:00
|
|
|
path("users/new", views.CreateUserView.as_view(), name="new_user"),
|
|
|
|
path("users/edit/<int:pk>", views.EditUserView.as_view(), name="edit_user"),
|
|
|
|
path("users/delete/<int:pk>", views.DeleteUserView.as_view(), name="delete_user"),
|
2024-10-11 15:04:33 +00:00
|
|
|
path("institution/<int:pk>", views.InstitutionView.as_view(), name="institution"),
|
2024-12-01 05:58:22 +00:00
|
|
|
path("states/", views.StatesPanelView.as_view(), name="states"),
|
2024-12-01 22:47:40 +00:00
|
|
|
path("states/add", views.AddStateDefinitionView.as_view(), name="add_state_definition"),
|
2024-12-02 19:55:59 +00:00
|
|
|
path('states/delete/<int:pk>', views.DeleteStateDefinitionView.as_view(), name='delete_state_definition'),
|
2024-10-03 15:46:02 +00:00
|
|
|
]
|