Opened 14 years ago

Closed 13 years ago

#16237 closed Bug (duplicate)

Auth docs point to old function generic views instead of generic CBV

Reported by: rasca Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: class based views generic
Cc: preston@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In https://docs.djangoproject.com/en/dev/topics/auth/#limiting-access-to-generic-views there's a mention on how to decorate the old generic views.

It should be about the new CBV since the old views are now deprecated. Also a mention of https://docs.djangoproject.com/en/dev//topics/class-based-views/#decorating-the-class would be in place.

Change History (3)

comment:1 by Stephen Burrows, 14 years ago

Keywords: class based views generic added
Triage Stage: UnreviewedAccepted

comment:2 by Preston Holmes, 13 years ago

Cc: preston@… added

comment:3 by Tim Graham, 13 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #17390 which has a patch.

Note: See TracTickets for help on using tickets.
Back to Top