summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--yaksh/templates/yaksh/question.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 5e391ba..3f1a5a0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ env:
install:
- pip install tornado
- pip install git+https://github.com/FOSSEE/online_test.git#egg=yaksh-0.1
- - pip install -q Django==$DJANGO --use-mirrors
+ - pip install -q Django==$DJANGO
- pip install -q pytz==2016.4
- pip install -q python-social-auth==0.2.19
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 2d52009..73d851a 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -89,9 +89,7 @@ function call_skip(url)
{% if paper.questions_left %}
window.setTimeout(function()
{
- {% for qid in paper.questions.all %}
- location.href="{{ URL_ROOT }}/exam/{{ qid.id }}/check/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/"
- {% endfor %}
+ location.href="{{ URL_ROOT }}/exam/{{ paper.current_question.id }}/check/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/"
}, 2000);
{% else %}
window.setTimeout(function()