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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/__init__.py

  • Committer: Nick Chadwick
  • Date: 2009-03-10 14:08:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090310140815-bmsnfeez0sr77g2h
Updated exercise_service to make use of the new deletion methods
for exercises and tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
        # the exercise cannot be deleted
543
543
        if req.method == 'POST':
544
544
            ctx['method'] = 'POST'
545
 
            ctx['deleted'] = self.context.delete()
 
545
            ctx['deleted'] = self.context.delete(req.store)
546
546
 
547
547
        # If get, display a delete confirmation page
548
548
        else: