It took me a few months to warm up to using class based views, and it was 
the pending decommissioning of the generic function based views that first 
caused me to take a look.  Now, I have converted all but the most 
complicated views to the class format (why change what works?).  Any new 
work I do is in CBV unless there is a compelling reason not to.

I agree with the remark from Kurtis that DRY is a great motivator to use 
CBVs.  Inspired by braces, I have begun to write my own mixins to minimize 
code copying.

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