Wednesday, August 28, 2013

AJAX - Class Based View or Function Based View?

I'm working on an app which uses a lot of AJAX requests. Having previously used FBVs for handling ajax and returning JSON, how efficient will it be to use a CBV for the same? I read the django docs and found mixins for it, but haven't figured out if using them and CBVs will help in any way.

Anyone?   

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment