Skip to content

Instantly share code, notes, and snippets.

@bohde
Created March 26, 2012 20:08
Show Gist options
  • Save bohde/2209304 to your computer and use it in GitHub Desktop.
Save bohde/2209304 to your computer and use it in GitHub Desktop.
exampleo of overriding get_object_list
class CinemaInfoResource(ModelResource):
class Meta:
object_class = CinemaInfo
def get_object_list(self):
return CinemaInfo.objects.all()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment