Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created November 4, 2010 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpadilla/661978 to your computer and use it in GitHub Desktop.
Save jpadilla/661978 to your computer and use it in GitHub Desktop.
p = Presentation.objects.all().select_related()
out = serializers.serialize("json", p)
return HttpResponse(out, mimetype='application/json')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment