]> git.parisson.com Git - django_quiz.git/commit
Removing everything I can from template tags, putting them into models or views....
authorTom Walker <tomwalker0472@gmail.com>
Sat, 12 Jul 2014 21:23:56 +0000 (22:23 +0100)
committerTom Walker <tomwalker0472@gmail.com>
Sat, 12 Jul 2014 21:23:56 +0000 (22:23 +0100)
commitd702b42711051756d5a1cff9c6dd936ccf9188fd
treec165a125731d79f0d84811a6f37419f3821b0190
parent312a8db37bb8ee01b1aaf796ad4a44fd1799bf08
Removing everything I can from template tags, putting them into models or views. Found a useful little hack when comparing integers and strings in templates: http://victorelu.com/blog/comparing-string-with-integer-in-djangos-template/
quiz/templates/correct_answer.html
quiz/templates/question.html
quiz/templates/result.html
quiz/templatetags/quiz_tags.py
quiz/tests.py
quiz/views.py