standard django url

Solutions on MaxInterview for standard django url by the best coders in the world

showing results for - "standard django url"
Bruno
11 Jul 2020
1from django.urls import path
2
3from . import views, tests
4
5#####/////////////////// AUDITION URLS ///////////////////#####
6urlpatterns = [
7    
8    ##-------------------------------VIEWS-------------------------------##
9    path('view/index', views.audition_view_index, name='audition_view_index'),
10    path('view/create', views.audition_view_create, name='audition_view_create'),
11    path('view/edit/<int:id>', views.audition_view_edit, name='audition_view_edit'),
12    path('view/details/<int:id>', views.audition_view_details, name='audition_view_details'),
13
14    ##-------------------------------PROCESSES-------------------------------##
15    path('process/create', views.audition_process_create, name='audition_process_create'),
16    path('process/edit/<int:id>', views.audition_process_edit, name='audition_process_edit'),
17    path('process/delete/<int:id>', views.audition_process_delete, name='audition_process_delete'),
18
19    ##-------------------------------SFX-------------------------------##
20
21
22    ##-------------------------------TEST-------------------------------##
23    path('test', views.test, name='test'),
24]
25