Skip to content

Instantly share code, notes, and snippets.

@bohde
Created December 1, 2011 04:09
Show Gist options
  • Select an option

  • Save bohde/1413506 to your computer and use it in GitHub Desktop.

Select an option

Save bohde/1413506 to your computer and use it in GitHub Desktop.
class PackageResource(ModelResource):
# Stuff already there
def obj_get(self, request=None, **kwargs):
kwargs.pop("available_options")
return super(PackageResource, self).obj_get(request=request, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment