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

« back to all changes in this revision

Viewing changes to ivle/database.py

Give offerings home page URLs and descriptions, and remove global subject URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
    code = Unicode(name="subj_code")
250
250
    name = Unicode(name="subj_name")
251
251
    short_name = Unicode(name="subj_short_name")
252
 
    url = Unicode()
253
252
 
254
253
    offerings = ReferenceSet(id, 'Offering.subject_id')
255
254
 
322
321
    subject = Reference(subject_id, Subject.id)
323
322
    semester_id = Int(name="semesterid")
324
323
    semester = Reference(semester_id, Semester.id)
 
324
    description = Unicode()
 
325
    url = Unicode()
325
326
    groups_student_permissions = Unicode()
326
327
 
327
328
    enrolments = ReferenceSet(id, 'Enrolment.offering_id')