Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created November 4, 2010 01:02
Show Gist options
  • 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