Created
June 16, 2009 05:42
-
-
Save ryanwitt/130550 to your computer and use it in GitHub Desktop.
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
@login_required # This is the decorator! One line... simple. | |
def my_view(request): | |
# Do something here to turn the request into an HTML page. | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment