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

« back to all changes in this revision

Viewing changes to ivle/webapp/groups/__init__.py

ivle.webapp.base.xhtml#XHTMLView: Rename app_template to template (the things
    that use it are views, not apps).

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    """
37
37
    The groups view
38
38
    """
39
 
    def __init__(self, req, **kwargs):
40
 
        super(GroupsView, self).__init__(req, **kwargs)
41
 
        self.app_template = 'template.html'
42
 
        #XXX: Will hates me for this.
43
 
        self.appname = "groups"
 
39
    template = 'template.html'
 
40
    appname = 'groups' # XXX
44
41
 
45
42
    def populate(self, req, ctx):
46
43
        # Set request attributes