Files
@ c8218bb9d0ea
Branch filter:
Location: symposion_app/vendor/symposion/reviews/urls.py - annotation
c8218bb9d0ea
2.4 KiB
text/x-python
Correct variable name to reflect what it's naming
IT's not the container name, it's the image name. Fix the name to be
less confusing.
IT's not the container name, it's the image name. Fix the name to be
less confusing.
7b77b9aa2948 3d68af979659 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 ecd4bc97bc0f 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 d4230feab05f 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 6811708b334d 7b77b9aa2948 3d68af979659 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 d4230feab05f 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 24f8ac875711 7b77b9aa2948 ecd4bc97bc0f ecd4bc97bc0f 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7596729ec10f d4230feab05f 7b77b9aa2948 7596729ec10f 7b77b9aa2948 7b77b9aa2948 6811708b334d 6811708b334d 6811708b334d 6811708b334d 7b77b9aa2948 | from django.conf.urls import url
from .views import (
review_section,
review_status,
review_list,
review_admin,
review_bulk_update,
result_notification,
result_notification_prepare,
result_notification_send,
review_random_proposal,
review_detail,
review_delete,
review_assignments,
review_assignment_opt_out,
review_all_proposals_csv,
)
urlpatterns = [
url(r"^section/(?P<section_slug>[\w\-]+)/all/$", review_section, {"reviewed": "all"}, name="review_section"),
url(r"^section/(?P<section_slug>[\w\-]+)/reviewed/$", review_section, {"reviewed": "reviewed"}, name="user_reviewed"),
url(r"^section/(?P<section_slug>[\w\-]+)/not_reviewed/$", review_section, {"reviewed": "not_reviewed"}, name="user_not_reviewed"),
url(r"^section/(?P<section_slug>[\w\-]+)/random/$", review_random_proposal, name="user_random"),
url(r"^section/(?P<section_slug>[\w\-]+)/assignments/$", review_section, {"assigned": True}, name="review_section_assignments"),
url(r"^section/(?P<section_slug>[\w\-]+)/status/$", review_status, name="review_status"),
url(r"^section/(?P<section_slug>[\w\-]+)/status/(?P<key>\w+)/$", review_status, name="review_status"),
url(r"^section/(?P<section_slug>[\w\-]+)/list_reviewer/(?P<user_pk>\d+)/$", review_list, name="review_list_user"),
url(r"^section/(?P<section_slug>[\w\-]+)/admin/$", review_admin, name="review_admin"),
url(r"^section/(?P<section_slug>[\w\-]+)/admin/accept/$", review_bulk_update, name="review_bulk_accept"),
url(r"^section/(?P<section_slug>[\w\-]+)/admin/update/$", review_bulk_update, name="review_bulk_update"),
url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/$", result_notification, name="result_notification"),
url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/prepare/$", result_notification_prepare, name="result_notification_prepare"),
url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/send/$", result_notification_send, name="result_notification_send"),
url(r"^review/(?P<pk>\d+)/$", review_detail, name="review_detail"),
url(r"^(?P<pk>\d+)/delete/$", review_delete, name="review_delete"),
url(r"^assignments/$", review_assignments, name="review_assignments"),
url(r"^assignment/(?P<pk>\d+)/opt-out/$", review_assignment_opt_out, name="review_assignment_opt_out"),
url(r"^csv$", review_all_proposals_csv, name="review_all_proposals_csv"),
]
|