I'm about to start transferring a few function based views, but like
you am using a mix as needed as it stands.

Re documentation, the docs on the dev stream have significantly more
useful and comprehensive info for class based views.

I think that there will always be a use for function based views (for
instance I'm pushing out a lot of stats on one page, and they don't
compute themselves) but from what I can see, most model based views
should move to the cbv

cheers
L.

On Mon, Nov 12, 2012 at 5:57 AM, Kevin <kveron...@gmail.com> wrote:
> 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.



-- 
...we look at the present day through a rear-view mirror. This is
something Marshall McLuhan said back in the Sixties, when the world
was in the grip of authentic-seeming future narratives. He said, “We
look at the present through a rear-view mirror. We march backwards
into the future.”

http://www.warrenellis.com/?p=14314

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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