2020-08-20 07:38:42 +00:00
|
|
|
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'),
|
2020-09-03 09:46:04 +00:00
|
|
|
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'),
|
2020-09-09 17:21:45 +00:00
|
|
|
path('medias/list/', views.medias, name='polls_medias'),
|
|
|
|
path('news/detail/', views.news_detail, name='polls_news_detail'),
|
2020-08-20 07:38:42 +00:00
|
|
|
]
|