from django.urls import path from . import views from . import tasks 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('password/reset/', views.reset_password, name='polls_password_reset'), path('notices/list/', views.notices, name='polls_notices'), path('notices/top/', views.notice_top, name='polls_notice_top'), path('notices/read/', views.read_notice, name='polls_read_notice'), path('notices/pass/', views.pass_notice, name='polls_pass_notice'), path('notices/reject/', views.reject_notice, name='polls_reject_notice'), path('notices/detail//', views.detail_notice, name='polls_detail_notice'), path('notices/unread/count/', views.unread_notice_count, name='polls_notice_unread_count'), path('medias/create/', views.create_media, name='polls_add_media'), path('medias/update/', views.update_media, name='polls_update_media'), path('medias/list/', views.medias, name='polls_medias'), path('medias/my/', views.my_medias, name='polls_my_medias'), path('medias/admin/change/', views.media_admin_change, name='polls_media_admin_change'), path('medias///', views.media_detail, name='polls_media_detail'), path('medias/delete/', views.delete_media, name='polls_delete_media'), path('news/list/', views.news_list, name='polls_news'), path('news/top/', views.news_top, name='polls_news_top'), path('news/detail//', views.news_detail, name='polls_news_detail'), path('monitor/statistics/', views.monitor_statistics, name='polls_monitor_statistics'), path('monitor/media/statistics/', views.media_statistics, name='polls_media_statistics'), path('monitor/city/ranking/', views.city_ranking, name='polls_city_ranking'), path('monitor/result/', views.monitor_result, name='polls_monitor_result'), path('monitor/media/unqualified', views.monitor_unqualified_result, name='polls_media_unqualified'), path('tasks/list/', views.tasks, name='polls_tasks_list'), path('tasks/create/', views.create_task, name='polls_tasks_create'), path('tasks/get/', views.get_task, name='polls_tasks_get'), path('tasks/create_test/', views.create_test_task, name='polls_tasks_create_test'), path('groups/list/', views.groups, name='polls_groups_list'), path('groups/pick/', views.pick_groups, name='polls_groups_pick'), path('groups/level/', views.is_level1_or_leve2, name='polls_groups_level'), path('groups/test-room/', views.room, name='polls_group_test_room'), path('groups/manager/', views.group_manager, name='polls_groups_manager'), path('groups/member/', views.group_member, name='polls_groups_member'), path('groups/enter/', views.group_enter, name='polls_groups_enter'), path('groups/leave/', views.group_leave, name='polls_groups_leave'), path('compartments/list/', views.compartments, name='polls_compartments_list'), path('organizations/list/', views.organizations, name='polls_organizations_list'), path('organizations/level/', views.organization_level, name='polls_organization_level'), path('messages/list/last/', views.last_messages, name='polls_messages_list_last'), path('messages/send/text/', views.send_text_message, name='polls_message_send_text'), path('messages/check/', views.is_read_message, name='polls_message_check'), path('messages/read/', views.read_message, name='polls_message_read'), path('app/intro.html', views.app_intro, name='polls_app_intro'), path('app/download/', views.download, name='polls_app_download'), path('app/has/update/', views.has_update, name='polls_app_has_update'), path('app/profile/image/upload/', views.upload_profile, name='polls_profile_upload'), ] tasks.process_notify_task(repeat=5)