-
Committer:
mattgiuca
-
Date:
2008-08-18 10:05:46 UTC
-
Revision ID:
svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1025
tutorialservice: Added two new GET actions: getattempts and getattempt.
getattempts retrieves a list of all attempts the user has made for a
particular question.
getattempt returns the code for a specific attempt.
Note that BY DEFAULT, these do not allow you to browse disabled attempts
(but this can be easily activated via a flag at the top of
tutorialservice/__init__.py).
db.py: Added get_problem_attempts and get_problem_attempt methods to do the DB
queries for the above actions.