From 5650db889ad19d199efe06c59f766698a515a4c5 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Sun, 20 Nov 2011 23:26:18 +0530 Subject: ENH: Adding a URL_ROOT configuration option. This is useful when you are forced to host the app on a URL like host.org/foo/exam and not as host.org/exam as you would want. Change the URL_ROOT setting to "/foo" in the above case for this to work. --- templates/exam/intro.html | 2 +- templates/exam/login.html | 4 ++-- templates/exam/question.html | 4 ++-- templates/exam/quit.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/exam/intro.html b/templates/exam/intro.html index 75de639..1d3e5de 100644 --- a/templates/exam/intro.html +++ b/templates/exam/intro.html @@ -45,7 +45,7 @@ carefully.

We hope you enjoy taking this exam.

-
+ {% csrf_token %}
diff --git a/templates/exam/login.html b/templates/exam/login.html index 8f0ef6c..8e6352e 100644 --- a/templates/exam/login.html +++ b/templates/exam/login.html @@ -15,6 +15,6 @@ Please login to proceed.

- -New User Registration + +New User Registration {% endblock content %} \ No newline at end of file diff --git a/templates/exam/question.html b/templates/exam/question.html index 226bdca..dec476e 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -58,7 +58,7 @@ function update_time()

-
+ {% csrf_token %}