Created
October 12, 2011 13:56
-
-
Save nilcolor/1281284 to your computer and use it in GitHub Desktop.
@view_config
This file contains hidden or 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
class FuckyView(object): | |
def __init__(self, request): | |
self.request = request | |
@view_config(context="starter.resources.Bar") | |
def fucky(request): | |
return Response('fucky view') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment