view src/pages/login/logged/page_meta.py @ 979:1d558dfb32ca

server: pages redirection: when using a redirection dict, a new "page" key can be used to redirect to a named page. "args" can be added to specified named arguments to set (will be put in request.args, in addition to existing ones). The redirection is done dynamically, during the request workflow.
author Goffi <goffi@goffi.org>
date Sun, 12 Nov 2017 12:56:46 +0100
parents 2932170bb526
children b92b06f023cb
line wrap: on
line source

#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-

from sat.core.log import getLogger
log = getLogger('pages/login')

"""SàT log-in page, with link to create an account"""

template = u"login/logged.html"


def prepare_render(self, request):
    request.template_data['profile'] = self.getProfile(request)