~azzar1/unity/add-show-desktop-key

Viewing all changes in revision 692.

  • Committer: mattgiuca
  • Date: 2008-03-15 04:05:36 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:692
db.py: Added new methods for handling problems and problem attempts:
    get_user_loginid
    get_problem_problemid
    insert_problem
    insert_problem_attempt
These all do things that were previously hard-coded into tutorialservice.

tutorialservice: Call the above methods instead of directly inserting them
into the DB.
This makes the tutorialservice code much cleaner by having all the DB code in
the db module.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: