-
Committer:
Matt Giuca
-
Date:
2009-01-19 11:20:16 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1090.
-
Revision ID:
matt.giuca@gmail.com-20090119112016-b1n3y6vhh9s0rq16
ivle.database: Exercise.get_by_name, now auto-inserts and returns a new
Exercise if it was not found in the DB.
This may be a bad idea, but it's consistent with the existing behaviour of
ivle.db.get_problem_problemid, so a lot of things depend on it (nothing
explicitly creates an Exercise).