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

« back to all changes in this revision

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

  • Committer: Nick Chadwick
  • Date: 2009-02-26 02:50:42 UTC
  • mto: (1099.1.227 exercise-ui)
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090226025042-0e0ktnnfoa7zupiv
added in extra parts to the exercise edit view. Now almost all
parts of an exercise can be edited.

In addition, added a warning message to the exercise view to warn
users it is not currently ready for consumption

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            raise NotFound()
52
52
        
53
53
        self.worksheet_exercise = req.store.find(WorksheetExercise,
54
 
            WorksheetExercise.exercise_id == exercise,
 
54
            WorksheetExercise.exercise_id == unicode(exercise),
55
55
            WorksheetExercise.worksheet_id == Worksheet.id,
56
56
            Worksheet.offering_id == Offering.id,
 
57
            Worksheet.identifier == unicode(worksheet),
57
58
            Offering.subject_id == Subject.id,
58
59
            Subject.code == subject,
59
60
            Offering.semester_id == Semester.id,