It would be helpful to see some more complex examples with these classes. 
 One thing I like about the CBVs is that they include all of the necessary 
code for common functions.  I have used them extensively (once I figured 
them out).

On Wednesday, September 12, 2012 12:59:12 PM UTC-4, Cal Leeming [Simplicity 
Media Ltd] wrote:
>
> Hi all,
>
> There is a lot of debate on whether there is a real future for the Django 
> CBVs (class based views). Personally, I find them tedious, and just wanted 
> a way to keep my views clean.
>
> So, here is a really minimalistic way of having class based views, without 
> the fuss.
>
> http://djangosnippets.org/snippets/2814/
>
> This is a fork from:
>
> http://stackoverflow.com/questions/742/class-views-in-django 
> http://djangosnippets.org/snippets/2041/
>
> My thanks to eallik for his initial post on stackoverflow for this.
>
> Personally I think Django's CBVs should offer a really minimalistic base 
> like this, as well as the existing CBV stuff already in the core - so as to 
> not force people into needing to learn an entirely new way of doing things, 
> but at the same time allowing them to reap some of the benefits of using 
> callable classes as views.
>
> Any thoughts?
>
> Cal
>

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