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 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.



Student Proposal for Google Summer of Code 2012

2012-02-05 Thread j4nu5
Hi,

Google Summer of Code 2012 has been announced.
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html

I want to work on extending Django's database migration capabilities,
as a student.

Database migrations have always been a pain in Django and most people
rely on third party apps like South or Nashvegas for migrations. I
feel migration capabilities should be made part of the main codebase.

Specifically, adding a new field to an existing model and issuing
'manage.py syncdb' has no effect since manage.py does not issue ALTER
TABLE commands. Adding such functionality might be difficult to
implement but will be a boon to new users (especially those migrating
from Rails who are used to out of the box migration support).

Is this project worthy of being taken up for this year's Summer of
Code?

-- 
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.