On Thu, Oct 25, 2012 at 4:37 PM, Russell Keith-Magee
<russell@keith-magee.com> wrote:
>
>
> On Thu, Oct 25, 2012 at 9:00 PM, Tomas Neme <lacrymology@gmail.com> wrote:
>>
>> Now that function-based views are being deprecated, or at least that
>> class-based views are being favored, there should be a tutorial with
>> them in the docs, shouldn't it?
>>
>> I don't mean replacing the current one, because that'd raise the entry
>> point a lot, but cloning the original tutorial, but implementing it
>> with class-based views, possibly placing a link to it in the generic
>> views docs page, would go a long way towards generating "good" habits
>> amongst new users, I think.
>
>
> So, as Lachlan pointed out, the current tutorial 4 *does* use class-based
> generic views.
>
> However, there is also scope for a focussed tutorial about class-based views
> in general. IMHO one of the biggest uptake problems around class-based
> views, and class-based generic views, is that there is a big initial
> learning curve, and the reference docs are intimidating.
>
> There is certainly room for improvement here -- either as a much improved
> topic guide, or as a new tutorial. More docs and better docs is always a
> good thing, and if someone wants to volunteer to write them, they get my
> enthusiastic support.
>
> Yours,
> Russ Magee %-)
Folks could check out the dev docs.
(https://docs.djangoproject.com/en/dev/) There is a lot more info on
class-based views.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment