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

« back to all changes in this revision

Viewing changes to ivle/pulldown_subj/__init__.py

Semesters now have separate URL name, display name and code attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
                              Subject.code == subject,
69
69
                              Offering.subject_id == Subject.id,
70
70
                              Semester.year == year,
71
 
                              Semester.semester == semester,
 
71
                              Semester.code == semester,
72
72
                              Offering.semester_id == Semester.id).one()
73
73
 
74
74
        # We can't find a matching offering, so we don't care about it.