Re: AJAX generic views

2012-02-05 Thread Reinout van Rees
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

Re: AJAX generic views

2012-02-03 Thread Dustin Farris
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

AJAX generic views

2012-02-03 Thread gert
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