Created
December 16, 2011 02:02
-
-
Save redspider/1484084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyramid.view import view_config | |
from pyramid.httpexceptions import HTTPForbidden | |
@view_config(name='login.login', renderer='login/login.jinja2', context=HTTPForbidden) | |
def login(request): | |
return {} | |
@view_config(route_name='login.test', renderer='login/login.jinja2') | |
def login_test(request): | |
return {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment