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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject.py

Merge from new-dispatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    template = 'subjects.html'
39
39
    appname = 'subjects' # XXX
40
40
 
 
41
    def authorize(self, req):
 
42
        return req.user is not None
 
43
 
41
44
    def populate(self, req, ctx):
42
45
        enrolled_subjects = req.user.subjects
43
46
        unenrolled_subjects = [subject for subject in