Created
November 20, 2012 03:17
-
-
Save GrahamDumpleton/4115734 to your computer and use it in GitHub Desktop.
Dealing with overridden Resource.wrap_view in TastyPie.
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
import newrelic.hooks.component_tastypie | |
... | |
def wrap_view(self, view): | |
... | |
wrap_view = newrelic.hooks.component_tastypie.ObjectWrapper(wrap_view, | |
None, newrelic.hooks.component_tastypie.outer_fn_wrapper) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment