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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-12-08 05:26:00 UTC
  • Revision ID: grantw@unimelb.edu.au-20091208052600-j5jpe25vgjtypex9
Fix missing GroupsView when creating a project set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
from ivle.database import ProjectSet, Subject, Semester, Offering
5
5
 
6
6
from ivle.webapp.admin.projectservice import ProjectSetRESTView
 
7
from ivle.webapp.groups import GroupsView
7
8
from ivle.webapp.base.rest import (XHTMLRESTView, named_operation,
8
9
                                   require_permission)
9
10
from ivle.webapp.errors import NotFound
31
32
        self.ctx['req'] = req
32
33
        self.ctx['projectset'] = new_projectset
33
34
        self.ctx['projects'] = []
 
35
        self.ctx['GroupsView'] = GroupsView
34
36
        self.ctx['ProjectSetRESTView'] = ProjectSetRESTView
35
37
 
36
38
        self.template = 'templates/projectset_fragment.html'