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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/publishing.py

  • Committer: William Grant
  • Date: 2010-02-15 03:45:04 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215034504-hwpkwo6m1184jkni
Document publication of documentation to the website.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
                           Worksheet, WorksheetExercise)
24
24
 
25
25
from ivle.webapp import ApplicationRoot
26
 
from ivle.webapp.routing import ROOT
27
 
from ivle.webapp.routing.decorators import forward_route, reverse_route
 
26
from ivle.webapp.publisher import ROOT
 
27
from ivle.webapp.publisher.decorators import forward_route, reverse_route
28
28
 
29
29
import ivle.worksheet
30
30
 
84
84
        self.worksheet_exercise = worksheet_exercise
85
85
        self.user = user
86
86
 
87
 
    def get_permissions(self, user):
88
 
        return self.user.get_permissions(user)
 
87
    def get_permissions(self, user, config):
 
88
        return self.user.get_permissions(user, config)
89
89
 
90
90
 
91
91
@forward_route(WorksheetExercise, '+attempts', argc=1)