djangosnippets.org: Latest snippets tagged with 'jsonresponse'https://djangosnippets.org/tags/jsonresponse/2008-06-13T11:52:15.068716-05:00Another JsonResponse
2008-06-13T11:52:15.068716-05:00kcarnoldhttps://djangosnippets.org/snippets/801/<p>Another <code>JsonResponse</code> class, including comment wrapping. Extensions to other kinds of CSRF protection should be obvious. Good explanations of why such protections are needed would make excellent comments on this snippet.</p>
<p>This depends on the <code>json_encode</code> method in <a href="http://www.djangosnippets.org/snippets/800/">snippet 800</a>.</p>
Freely redistributable