Created
February 29, 2012 04:43
-
-
Save bohde/1937822 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
| class TestResource(ModelResource): | |
| def is_authorized(self, *args, **kwarg): | |
| super(TestResource, self).is_authorized(*args, **kwargs) | |
| print 'is_authorized passed' | |
| def is_authenticated(self, *args, **kwarg): | |
| super(TestResource, self).is_authenticated(*args, **kwargs) | |
| print 'is_authenticated passed' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment