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

« back to all changes in this revision

Viewing changes to ivle/database.py

  • Committer: William Grant
  • Date: 2009-02-26 01:50:16 UTC
  • Revision ID: grantw@unimelb.edu.au-20090226015016-8gkylmhopejioczp
Add Semester.enrolments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
    state = Unicode()
236
236
 
237
237
    offerings = ReferenceSet(id, 'Offering.semester_id')
 
238
    enrolments = ReferenceSet(id,
 
239
                              'Offering.semester_id',
 
240
                              'Offering.id',
 
241
                              'Enrolment.offering_id')
238
242
 
239
243
    __init__ = _kwarg_init
240
244