Re: AJAX generic views
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.
Re: AJAX generic views
I am also interested in where this is going. I have written simple extensions of BaseDetailView similar to the approach taken in the "HybridDetailView" example in the documentation (https:// docs.djangoproject.com/en/1.3/topics/class-based-views/#more-than-just- html). Would love to hear other ideas. On Feb 3, 3:43 am, gertwrote: > Hi > > 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? > > Regards > Gert -- 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.
AJAX generic views
Hi 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? Regards Gert -- 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.