-
Committer:
Nick Chadwick
-
Date:
2009-03-10 13:35:39 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1162.
-
Revision ID:
chadnickbok@gmail.com-20090310133539-1zerqg77sy6izqku
Exercise objects in the database module, along with their test cases,
now have delete() methods, which allow for 'safe' removal. Calling
this method will only delete an exercise if it has no saves or attempts
associated with it.
Updated ExerciseDeleteView to make use of this new functionality.
Updated ExerciseDeleteView, and its template, to be clearer in their
control flow.