Ticket #11034: 11034.diff
File 11034.diff, 580 bytes (added by , 16 years ago) |
---|
-
docs/ref/contrib/admin/actions.txt
203 203 204 204 def export_as_json(modeladmin, request, queryset): 205 205 response = HttpResponse(mimetype="text/javascript") 206 serialize .serialize(queryset, stream=response)206 serializers.serialize(queryset, stream=response) 207 207 return response 208 208 209 209 Generally, something like the above isn't considered a great idea. Most of the