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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2009-12-08 02:10:26 UTC
  • Revision ID: coles.david@gmail.com-20091208021026-3a27ecdzm49y39me
Configuration documentation - fixing a few references

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
            raise NotFound()
29
29
 
30
30
    def new_project_url(self, projectset):
31
 
        return "/api/subjects/" + str(self.context.subject.id) + "/" +\
32
 
               self.context.semester.year + "/" +\
33
 
               self.context.semester.semester + "/+projectsets/" +\
34
 
               (str(projectset.id)) + "/+projects/+new"
 
31
        return "/api/subjects/%s/%s/%s/+projectsets/%d/+projects/+new" % (
 
32
            self.context.subject.short_name, self.context.semester.year,
 
33
            self.context.semester.semester, projectset.id)
35
34
 
36
35
    @named_operation('edit')
37
36
    def add_projectset(self, req, group_size):