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

« back to all changes in this revision

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

Merge from submissions-admin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        for assessed in self.context.assesseds:
229
229
            if assessed.submissions.count() > 0:
230
230
                ctx['submissions'].append(
231
 
                        assessed.submissions.order_by(ProjectSubmission.date_submitted)[-1])
232
 
 
 
231
                        assessed.submissions.order_by(
 
232
                            ProjectSubmission.date_submitted)[-1])
 
233
        ctx['assigned'] = self.context.project_set.get_assigned()
233
234
 
234
235
class Plugin(ViewPlugin, MediaPlugin):
235
236
    urls = [