summaryrefslogtreecommitdiff
path: root/tbc_error_page/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tbc_error_page/views.py')
-rw-r--r--tbc_error_page/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbc_error_page/views.py b/tbc_error_page/views.py
index 3d87454..6dd5206 100644
--- a/tbc_error_page/views.py
+++ b/tbc_error_page/views.py
@@ -28,12 +28,12 @@ def error(request):
deliberate_urls_list = request.POST.getlist("deliberate")
db_instance.update_deliberate_error(deliberate_urls_list)
- context = {"user":request.user, "deliberate" :deliberate_urls_list}
+ context = {"reviewer":request.user, "deliberate" :deliberate_urls_list}
return render_to_response ("deliberate.html", context, ci)
- context = {"context": error_details, "user": curr_user}
+ context = {"context": error_details, "reviewer": curr_user}
return render_to_response ("error.html", context, ci)
@login_required(login_url="/login/")
@@ -54,7 +54,7 @@ def broken(request):
db_instance.update_broken_data(broken_json_data)
broken = Broken.objects.all()
- context = {"broken": broken, "user": curr_user}
+ context = {"broken": broken, "reviewer": curr_user}
return render_to_response("broken.html", context, ci)