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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/__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:
193
193
            Subject.short_name == namebits[0],
194
194
            Offering.semester_id == Semester.id,
195
195
            Semester.year == namebits[1],
196
 
            Semester.semester == namebits[2]).one()
 
196
            Semester.url_name == namebits[2]).one()
197
197
 
198
198
    def get_offering(self):
199
199
        return self.context.project_set.offering