newmediamonitoring/polls/urls.py

23 lines
1.2 KiB
Python
Raw Normal View History

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'),
2020-09-13 07:21:23 +00:00
path('news/list/', views.news_list, name='polls_news'),
2020-09-09 17:21:45 +00:00
path('news/detail/', views.news_detail, name='polls_news_detail'),
2020-09-12 07:31:50 +00:00
path('monitor/statistics/', views.monitor_statistics, name='polls_monitor_statistics')
2020-08-20 07:38:42 +00:00
]