Hello!

  I am curious of how many existing Django developers have moved over to 
class-based views or are still using the function-based ones.  I tend to 
use a mix depending on what I am trying to do.  I try to stick with 
class-based views, but fallback to function-based ones for process-based 
views, views which don't return a template but redirect after processing 
some end-user action.

  At first class-based views were a little confusing and the Django docs 
didn't really clarify how they work as well under the hood and the best 
practices on subclassing them.  It took me a little while to properly 
understand how they worked and what functions to override to do specific 
tasks.  This mainly involved reading the source code to see how everything 
worked.

Best Regards,
  Kevin Veroneau
  Python Diary

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/-b1KxU29PYwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to