Improve tutorial to use class based views

64 views
Skip to first unread message

jo...@geiregat.org

unread,
Sep 13, 2012, 7:14:03 AM9/13/12
to django-d...@googlegroups.com
Hello,

Like I, probably most people start with djagno by following the
tutorial on the djangoproject.com website.
This tutorial makes only use of function based views.
But today we have this wonderful things called class based views.

Is this really the best way to introduce newcomers to django ?

Are there any plans to improve the docs to use class based views ?

Regards,

Jonas.

Tom Christie

unread,
Sep 13, 2012, 8:40:46 AM9/13/12
to django-d...@googlegroups.com
Hi Jonas,

The tutorial *does* cover class based generic views, but only towards the end:


Starting with function based views, and then moving on to class based views by the end feels like the right approach, as it keeps things simple and obvious at the start, and gradually moves on to more complex abstractions.

Regards,

  Tom
Reply all
Reply to author
Forward
0 new messages