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'),
|
2020-09-24 06:51:39 +00:00
|
|
|
path('notices/top/', views.notice_top, name='polls_notice_top'),
|
2020-09-03 09:46:04 +00:00
|
|
|
path('notices/read/', views.read_notice, name='polls_read_notice'),
|
2020-09-24 06:51:39 +00:00
|
|
|
path('notices/reply', views.reply_notice, name='polls_reply_notice'),
|
2020-09-03 09:46:04 +00:00
|
|
|
path('medias/create/', views.create_media, name='polls_add_media'),
|
2020-09-22 07:39:33 +00:00
|
|
|
path('medias/update/', views.update_media, name='polls_update_media'),
|
2020-09-09 17:21:45 +00:00
|
|
|
path('medias/list/', views.medias, name='polls_medias'),
|
2020-09-23 09:47:05 +00:00
|
|
|
path('medias/my/', views.my_medias, name='polls_my_medias'),
|
|
|
|
path('medias/<str:type>/<str:media_id>/', views.media_detail, name='polls_media_detail'),
|
2020-09-13 07:21:23 +00:00
|
|
|
path('news/list/', views.news_list, name='polls_news'),
|
2020-09-23 09:47:05 +00:00
|
|
|
path('news/top/', views.news_top, name='polls_news_top'),
|
2020-09-20 11:14:54 +00:00
|
|
|
path('news/detail/<str:news_id>/', views.news_detail, name='polls_news_detail'),
|
2020-09-18 16:11:19 +00:00
|
|
|
path('monitor/statistics/', views.monitor_statistics, name='polls_monitor_statistics'),
|
|
|
|
path('tasks/list/', views.tasks, name='polls_tasks_list'),
|
|
|
|
path('tasks/create/', views.create_task, name='polls_tasks_create'),
|
2020-09-22 07:39:33 +00:00
|
|
|
path('tasks/create_test/', views.create_test_task, name='polls_tasks_create_test'),
|
2020-09-20 11:14:54 +00:00
|
|
|
path('groups/list/', views.groups, name='polls_groups_list'),
|
2020-09-24 06:51:39 +00:00
|
|
|
path('groups/test-room/', views.room, name='polls_group_test_room'),
|
2020-09-20 11:14:54 +00:00
|
|
|
path('compartments/list/', views.compartments, name='polls_compartments_list'),
|
2020-09-23 09:47:05 +00:00
|
|
|
path('organizations/list/', views.organizations, name='polls_organizations_list'),
|
2020-08-20 07:38:42 +00:00
|
|
|
]
|