Makes the reviewer proposals list render properly

This commit is contained in:
Christopher Neugebauer 2016-08-15 10:44:44 +10:00
parent 3217f43af2
commit 24f8ac8757
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ urlpatterns = [
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/(?P<user_pk>\d+)/$", review_list, name="review_list_user"),
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_accept, name="review_bulk_accept"),
url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/$", result_notification, name="result_notification"),

View file

@ -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