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

« back to all changes in this revision

Viewing changes to ivle/webapp/security/views.py

ivle.webapp.groups: Remove most of the view code; the template now accesses
    the objects directly. Also fix a few double-encodings and typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    '''A view to log the current session out.'''
25
25
    template = 'logout.html'
26
26
 
27
 
    def authorize(self, req):
28
 
        return req.user is not None
29
 
 
30
27
    def populate(self, req, ctx):
31
28
        if req.method == "POST":
32
29
            req.logout()