Mercurial > libervia-web
view src/pages/login/logged/page_meta.py @ 983:8c9fdb58de5f
server (libervia.sh): force python 2 to launch twistd, and avoid launching wrong version if twistd is installed for python 3 too
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Nov 2017 11:01:34 +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)