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

« back to all changes in this revision

Viewing changes to ivle/database.py

  • Committer: William Grant
  • Date: 2009-01-20 01:44:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: grantw@unimelb.edu.au-20090120014420-t40ofmnvysps6ii9
ivle.database.ProjectSet: Add projects and project_groups referencesets.
www/apps/userservice: Don't use get_groups_by_projectset; construct the list
    of dicts manually.
ivle.db.get_groups_by_projectset: Remove. Unused. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
    offering = Reference(offering_id, Offering.id)
291
291
    max_students_per_group = Int()
292
292
 
 
293
    projects = ReferenceSet(id, 'Project.project_set_id')
 
294
    project_groups = ReferenceSet(id, 'ProjectGroup.project_set_id')
 
295
 
293
296
    __init__ = _kwarg_init
294
297
 
295
298
    def __repr__(self):