]>
git.parisson.com Git - django_quiz.git/log
Cody Heimberger [Thu, 31 Jul 2014 14:46:31 +0000 (08:46 -0600)]
fixed invalid html in question.html template
certifiedloud [Thu, 31 Jul 2014 12:11:52 +0000 (06:11 -0600)]
Merge pull request #1 from certifiedloud/master
merging master and dev branches
Cody Heimberger [Thu, 31 Jul 2014 12:07:31 +0000 (06:07 -0600)]
added sub_categories to questions
certifiedloud [Wed, 30 Jul 2014 22:25:56 +0000 (16:25 -0600)]
white space change
Cody Heimberger [Wed, 30 Jul 2014 22:04:50 +0000 (16:04 -0600)]
Merge branch 'master' of https://github.com/certifiedloud/django_quiz
Cody Heimberger [Wed, 30 Jul 2014 22:03:16 +0000 (16:03 -0600)]
added pillow to the requirements.txt file for image uploads
certifiedloud [Wed, 30 Jul 2014 21:49:37 +0000 (15:49 -0600)]
Update models.py
Cody Heimberger [Wed, 30 Jul 2014 21:44:21 +0000 (15:44 -0600)]
added support for figures in true_false and multiple choice questions
tomwalker [Wed, 30 Jul 2014 09:20:54 +0000 (10:20 +0100)]
update to 0.5.0
tomwalker [Tue, 29 Jul 2014 20:19:49 +0000 (21:19 +0100)]
more cleaning up of the main view
Tom Walker [Mon, 28 Jul 2014 20:46:18 +0000 (21:46 +0100)]
more slimming down of the views
Tom Walker [Mon, 28 Jul 2014 18:02:21 +0000 (19:02 +0100)]
slimming down the views
Tom Walker [Mon, 28 Jul 2014 17:18:33 +0000 (18:18 +0100)]
Added a new manager for the sitting object to load sitting for a user
doing a quiz. Allows me to thin the views a bit more.
Tom Walker [Sun, 27 Jul 2014 21:14:57 +0000 (22:14 +0100)]
cleaning up code, improving the default template
Tom Walker [Sun, 27 Jul 2014 17:30:15 +0000 (18:30 +0100)]
removing unused files
Tom Walker [Sun, 27 Jul 2014 16:35:14 +0000 (17:35 +0100)]
readme readme
Tom Walker [Sun, 27 Jul 2014 16:33:27 +0000 (17:33 +0100)]
added travis build image to readme
Tom Walker [Sun, 27 Jul 2014 16:30:53 +0000 (17:30 +0100)]
setup, not manage
Tom Walker [Sun, 27 Jul 2014 16:29:24 +0000 (17:29 +0100)]
trying to get travis to work....
Tom Walker [Sun, 27 Jul 2014 15:50:13 +0000 (16:50 +0100)]
travis...
Tom Walker [Sun, 27 Jul 2014 15:46:09 +0000 (16:46 +0100)]
small update to readme
Tom Walker [Sun, 27 Jul 2014 15:42:52 +0000 (16:42 +0100)]
added travis file
Tom Walker [Sun, 27 Jul 2014 15:23:49 +0000 (16:23 +0100)]
lining up a bracker in urls.py
Tom Walker [Sun, 27 Jul 2014 15:20:52 +0000 (16:20 +0100)]
code cleanup and extra tests
Tom Walker [Sun, 27 Jul 2014 13:15:58 +0000 (14:15 +0100)]
finalised essay question type, added it to admin and readme, adjusted
sitting detail view to allow a marker to decide whether a question is
correct, added supporting methods to the sitting model
Tom Walker [Fri, 25 Jul 2014 22:25:34 +0000 (23:25 +0100)]
removing commented out line
Tom Walker [Fri, 25 Jul 2014 22:23:13 +0000 (23:23 +0100)]
added Essay question to admin, changed templates so they dont show
previous question if it was an essay question since it is not marked
automatically, updated sitting_detail view to show the answers that the
user gave for each question. next up - allow teacher to mark questions
in this view, resulting in updated score etc
tomwalker [Fri, 25 Jul 2014 17:20:46 +0000 (18:20 +0100)]
big commit, added a new method to questions to return guess as string, added sitting method to return questions with players guess for each
tomwalker [Thu, 24 Jul 2014 21:16:42 +0000 (22:16 +0100)]
add_user_answer added to the sitting model
tomwalker [Thu, 24 Jul 2014 20:49:59 +0000 (21:49 +0100)]
starting on new field in Sitting model to store all user answers in a sitting. This is necessary for essay type questions as they will need to be manually marked.
tomwalker [Thu, 24 Jul 2014 16:25:56 +0000 (17:25 +0100)]
small code cleanup
tomwalker [Thu, 24 Jul 2014 16:22:47 +0000 (17:22 +0100)]
added a new app called essay, which allows essay style questions
tomwalker [Thu, 24 Jul 2014 14:40:37 +0000 (15:40 +0100)]
template changed to show quiz score as percentage rather than score
Tom Walker [Thu, 24 Jul 2014 14:14:50 +0000 (15:14 +0100)]
removed a check to see if matching user or quiz existed when filtering completed exams on the marking page - just shows an empty set if none found
Tom Walker [Wed, 23 Jul 2014 16:00:16 +0000 (17:00 +0100)]
removed unused class from admin, added in filter for quiz marking list to filter by user or quiz title
Tom Walker [Tue, 22 Jul 2014 16:07:18 +0000 (17:07 +0100)]
added a permission (view_sittings) which allows users with that permission to view completed quizzes of other users - could be used for marking
Tom Walker [Mon, 21 Jul 2014 21:12:40 +0000 (22:12 +0100)]
added a new view which lists all completed exams, to allow an admin to view results
Tom Walker [Mon, 21 Jul 2014 14:46:48 +0000 (15:46 +0100)]
added two new fields to the quiz model which are used to customise the success message - one is displayed if you pass the exam, the other is shown if you fail
Tom Walker [Sun, 20 Jul 2014 16:41:21 +0000 (17:41 +0100)]
unused import
Tom Walker [Sun, 20 Jul 2014 16:39:05 +0000 (17:39 +0100)]
allowed ability to set pass mark
Tom Walker [Sun, 20 Jul 2014 15:21:09 +0000 (16:21 +0100)]
cleaning up templates
Tom Walker [Sat, 19 Jul 2014 18:43:13 +0000 (19:43 +0100)]
fixed small bug that meant selected questions were not saved when
creating a new quiz, meaning that the questions would have to be
reselected after the quiz was created.
Tom Walker [Fri, 18 Jul 2014 16:48:34 +0000 (17:48 +0100)]
cleaning up tests for all CBV based version
Tom Walker [Thu, 17 Jul 2014 12:01:35 +0000 (13:01 +0100)]
rejigged the quiz processing view - now its class based!
Tom Walker [Tue, 15 Jul 2014 21:05:11 +0000 (22:05 +0100)]
finally getting round to properly implementing forms with CBVs for the main portion of the quiz rather than hacking request objects :S
Tom Walker [Mon, 14 Jul 2014 20:40:50 +0000 (21:40 +0100)]
removing unused imports
Tom Walker [Mon, 14 Jul 2014 20:39:04 +0000 (21:39 +0100)]
tests for quiz.views.anon_session_score which were missing
Tom Walker [Sun, 13 Jul 2014 20:09:07 +0000 (21:09 +0100)]
pep8 related clean ups, updated for new push to pypi
Tom Walker [Sun, 13 Jul 2014 19:43:56 +0000 (20:43 +0100)]
cleaning up quiz/models to remove cruft!
Tom Walker [Sun, 13 Jul 2014 18:48:46 +0000 (19:48 +0100)]
removed the template tag user_previous_exam
Tom Walker [Sat, 12 Jul 2014 21:23:56 +0000 (22:23 +0100)]
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/
Tom Walker [Fri, 11 Jul 2014 15:56:21 +0000 (16:56 +0100)]
working to improve code for processing of anon users.
Tom Walker [Thu, 10 Jul 2014 19:26:36 +0000 (20:26 +0100)]
slimming down template tags, moved another function from template tags to model method, simplified a few templates
Tom Walker [Wed, 9 Jul 2014 22:22:54 +0000 (23:22 +0100)]
moved another function from templatetags by adding a new method to
question models
Tom Walker [Wed, 9 Jul 2014 21:44:48 +0000 (22:44 +0100)]
removing logic from templates, reducing the complexity of template tags
Tom Walker [Tue, 8 Jul 2014 16:58:55 +0000 (17:58 +0100)]
changed order of view functions to see user and anon related views
easier. Cleaned up question template. Return a question instead of ID in
sitting.get_first_question().
Tom Walker [Tue, 8 Jul 2014 15:15:55 +0000 (16:15 +0100)]
removed some unnecessary view functions, removed page counter which was
used to display an advert every X number of pages
Tom Walker [Mon, 7 Jul 2014 22:05:23 +0000 (23:05 +0100)]
trimming down bloat from quiz/views.py, used CBV as the starting page
for a quiz
Tom Walker [Fri, 4 Jul 2014 14:40:47 +0000 (15:40 +0100)]
forgot a file
Tom Walker [Fri, 4 Jul 2014 14:33:25 +0000 (15:33 +0100)]
moved towards CBVs for simples views, next step is to convert complicated views into mix of CBVs and forms with custom validation
Tom Walker [Wed, 2 Jul 2014 21:10:17 +0000 (22:10 +0100)]
reading 2scoops of django, making changes! Relative explicit imports
Tom Walker [Wed, 2 Jul 2014 16:03:49 +0000 (17:03 +0100)]
pep8 everything
Tom Walker [Tue, 1 Jul 2014 15:50:55 +0000 (16:50 +0100)]
fiddles...
Tom Walker [Tue, 1 Jul 2014 12:02:14 +0000 (13:02 +0100)]
added readme.rst for Pypi
Tom Walker [Tue, 1 Jul 2014 11:41:58 +0000 (12:41 +0100)]
.gitignore updates
Tom Walker [Mon, 30 Jun 2014 20:23:15 +0000 (21:23 +0100)]
fiddling really
Tom Walker [Mon, 30 Jun 2014 19:22:31 +0000 (20:22 +0100)]
Merge branch 'dev'
Conflicts:
.gitignore
Tom Walker [Mon, 30 Jun 2014 19:18:42 +0000 (20:18 +0100)]
changes to readme
Tom Walker [Mon, 30 Jun 2014 18:49:46 +0000 (19:49 +0100)]
preparing for release
Tom Walker [Mon, 30 Jun 2014 16:45:33 +0000 (17:45 +0100)]
added the option to allow a quiz to be only sat once by registered users, not at all by anonymous users.
Tom Walker [Sun, 29 Jun 2014 17:54:20 +0000 (18:54 +0100)]
changed quiz/models fields to CommaSeparatedIntegerField when appropriate
Tom Walker [Fri, 27 Jun 2014 18:00:47 +0000 (19:00 +0100)]
finished template tag tests
Tom Walker [Thu, 26 Jun 2014 21:49:09 +0000 (22:49 +0100)]
Working on the tests for the template tags. Updated to show which selection you chose if you got a question wrong, rather than just seeing the correct answer.
Tom Walker [Wed, 25 Jun 2014 21:40:19 +0000 (22:40 +0100)]
moved templates around, fiddled with a few, some changes to template tags and tests
Tom Walker [Wed, 25 Jun 2014 18:45:44 +0000 (19:45 +0100)]
final tests for the quiz/views of logged in users
Tom Walker [Tue, 24 Jun 2014 15:08:14 +0000 (16:08 +0100)]
removed an unnecessary print from quiz_tags, added all tests for anon users sitting tests including an improvement to the view to reset between subsequent attempts at a quiz
Tom Walker [Mon, 23 Jun 2014 21:42:28 +0000 (22:42 +0100)]
slight improvement of readability using any() in quiz/models, and working on views relating to questions for anon users
Tom Walker [Sun, 22 Jun 2014 18:11:14 +0000 (19:11 +0100)]
looking for ways to black box more of the views functions relating to
the questions
Tom Walker [Sat, 21 Jun 2014 21:19:15 +0000 (22:19 +0100)]
tests for all quiz/views that are not related to questions, started on
question related views
Tom Walker [Fri, 20 Jun 2014 23:19:34 +0000 (00:19 +0100)]
working on tests for quiz.views
Tom Walker [Thu, 19 Jun 2014 18:57:01 +0000 (19:57 +0100)]
continuing to work on the quiz/models.py
Tom Walker [Thu, 19 Jun 2014 08:58:36 +0000 (09:58 +0100)]
working on tests for quiz/models
Tom Walker [Wed, 18 Jun 2014 18:05:51 +0000 (19:05 +0100)]
working on the tests
Tom Walker [Tue, 17 Jun 2014 21:15:55 +0000 (22:15 +0100)]
worked through views, template tags and templates for true/false question type. Works so far
Tom Walker [Sun, 15 Jun 2014 19:01:28 +0000 (20:01 +0100)]
Continuing on quiz/views. Need to refine the function that checks whether an answer was correct - currently hardcoded to only check multichoice
Tom Walker [Fri, 13 Jun 2014 15:32:06 +0000 (16:32 +0100)]
working on the quiz/views
Tom Walker [Thu, 12 Jun 2014 22:03:56 +0000 (23:03 +0100)]
Working mainly on quiz.models to allow for any question type to be used by rest of model apparatus. Also little improvements to make code more maintainable.
Tom Walker [Wed, 11 Jun 2014 21:27:05 +0000 (22:27 +0100)]
will need to overhaul views to allow easier integration of new question types
Tom Walker [Wed, 11 Jun 2014 15:49:12 +0000 (16:49 +0100)]
starting to update the views + making some simple templates to display them
Tom Walker [Wed, 11 Jun 2014 15:20:03 +0000 (16:20 +0100)]
cleaning up url structure
Tom Walker [Tue, 10 Jun 2014 21:59:40 +0000 (22:59 +0100)]
changes to allow easier creation of new question types, updated admin to match
Tom Walker [Mon, 9 Jun 2014 20:43:39 +0000 (21:43 +0100)]
started to use inheritence for TF question. Will make a new abstract base class for future
Tom Walker [Mon, 9 Jun 2014 19:17:03 +0000 (20:17 +0100)]
added gitignore
Tom Walker [Sat, 7 Jun 2014 21:43:41 +0000 (22:43 +0100)]
standardising for easier installment into new projects
Tom Walker [Fri, 6 Jun 2014 17:02:45 +0000 (18:02 +0100)]
small changes to allow easier use in other projects
Tom Walker [Thu, 5 Jun 2014 21:44:12 +0000 (22:44 +0100)]
* .gitignore:
tomwalker [Thu, 10 Apr 2014 20:05:45 +0000 (21:05 +0100)]
new branch, adding true and false, will require refactoring of quiz/views.py
Tom Walker [Sat, 22 Mar 2014 20:05:01 +0000 (20:05 +0000)]
Merge pull request #5 from crackjack/master
Added view, url and templates for quiz_index and quiz_category
Nitesh Rijal [Thu, 20 Mar 2014 02:13:58 +0000 (07:58 +0545)]
Added templates for respective views
Nitesh Rijal [Thu, 20 Mar 2014 02:08:49 +0000 (07:53 +0545)]
Added view, url and templates for quiz_index and quiz_category