djangosnippets.org: Latest snippets posted by chizcrackerhttp://djangosnippets.org/users/chizcracker/2012-05-22T03:06:19.003453-05:00chizcrackerdjango ajax_view decorator
2012-05-22T03:06:19.003453-05:00chizcrackerhttp://djangosnippets.org/snippets/2755/<p>All credit goes to Peter Coles.</p>
<p><a href="http://mrcoles.com/blog/decorator-django-ajax-views/#c281">http://mrcoles.com/blog/decorator-django-ajax-views/#c281</a></p>
<p>I slightly modified the original code to work without passing parameters to decorator.</p>
<p>I will delete this post if anyone does not want this snippet to be posted. </p>
Freely redistributable