From 24f8ac875711263bb346eb24aaec9eecd3c1f773 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 15 Aug 2016 10:44:44 +1000 Subject: [PATCH] Makes the reviewer proposals list render properly --- symposion/reviews/urls.py | 2 +- symposion/reviews/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/symposion/reviews/urls.py b/symposion/reviews/urls.py index 6c35f3bb..6f8e9c43 100644 --- a/symposion/reviews/urls.py +++ b/symposion/reviews/urls.py @@ -25,7 +25,7 @@ urlpatterns = [ url(r"^section/(?P[\w\-]+)/assignments/$", review_section, {"assigned": True}, name="review_section_assignments"), url(r"^section/(?P[\w\-]+)/status/$", review_status, name="review_status"), url(r"^section/(?P[\w\-]+)/status/(?P\w+)/$", review_status, name="review_status"), - url(r"^section/(?P[\w\-]+)/list/(?P\d+)/$", review_list, name="review_list_user"), + url(r"^section/(?P[\w\-]+)/list_reviewer/(?P\d+)/$", review_list, name="review_list_user"), url(r"^section/(?P[\w\-]+)/admin/$", review_admin, name="review_admin"), url(r"^section/(?P[\w\-]+)/admin/accept/$", review_bulk_accept, name="review_bulk_accept"), url(r"^section/(?P[\w\-]+)/notification/(?P\w+)/$", result_notification, name="result_notification"), diff --git a/symposion/reviews/views.py b/symposion/reviews/views.py index 97ccb156..605051e6 100644 --- a/symposion/reviews/views.py +++ b/symposion/reviews/views.py @@ -238,7 +238,7 @@ def review_list(request, section_slug, user_pk): ctx = { "proposals": proposals, } - return (request, "symposion/reviews/review_list.html", ctx) + return render(request, "symposion/reviews/review_list.html", ctx) @login_required