19 lines
938 B
Python
19 lines
938 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.index, name='index'),
|
|
path('status_500', views.status_500, name='status_500'),
|
|
path('status_401', views.status_401, name='status_401'),
|
|
path('login/', views.polls_login, name='polls_login'),
|
|
path('send_code/', views.send_code, name='polls_send_code'),
|
|
path('register/', views.register_step_one, name='polls_register'),
|
|
path('register/save/', views.register_step_two, name='polls_register_save'),
|
|
path('password/recovery/', views.password_recover_step_one, name='polls_password_recovery'),
|
|
path('password/recovery/save/', views.password_recover_step_two, name='polls_password_recovery_save'),
|
|
path('notices/list/', views.notices, name='polls_notices'),
|
|
path('notices/read/', views.read_notice, name='polls_read_notice'),
|
|
path('medias/create/', views.create_media, name='polls_add_media'),
|
|
]
|