djangosnippets.org: Latest snippets tagged with 'JSON'http://djangosnippets.org/tags/json_1/2011-08-04T16:00:12.660425-05:00Generic view mixing that allows output to JSON, HTML, HTML SNIPPETS
2011-08-04T16:00:12.660425-05:00danielsokolowskihttp://djangosnippets.org/snippets/2504/<p>Adding this mixing to your existing class based views allows for outputting of queries into any registered serialzier format -- very handy for dynamic JS based GUI on the JSON format.</p>
<p>This generic view mixing was created on our last project which required a fancy JS based user experience and …</p>
Freely redistributableuniversal JSONResponse
2011-04-12T11:34:06.023224-05:00guetuxhttp://djangosnippets.org/snippets/2411/<p>Repsonse with JSON in any case, either if it's a model, queryset or whatever</p>
Freely redistributable