On 03-02-12 09:43, gert wrote:
I've been using the class based views from day one and loving it!
It would be great if there was a generic view to bring some
consistency to the way everybody implements AJAX.
Or if not a view then maybe a mixin or two (JSONResponseMixin used in
the documentation comes to mind).
Any thoughts on this?
Yes: http://django-rest-framework.org/
We're using that REST framework now exactly because it uses class based
views :-)
And see http://rest.ep.io/ for the build-in admin-like browseable API it
generates for your REST interface. Major selling point.
Reinout
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.