#17390 closed Cleanup/optimization (fixed)
Describe how to do auth for Class Based Views in the main Auth docs
Reported by: | Owned by: | Zbigniew Siciarz | |
---|---|---|---|
Component: | Documentation | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | asendecka@… | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
https://docs.djangoproject.com/en/dev/topics/auth/#limiting-access-to-generic-views only talks about function views.
It should also describe how to decorate Class Based Views, or at least link to the following subsection of the CBV docs:
https://docs.djangoproject.com/en/dev/topics/class-based-views/#decorating-class-based-views
Attachments (1)
Change History (7)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|
by , 13 years ago
Attachment: | patch_17390.diff added |
---|
Mentioned decorating CBVs in the contrib.auth docs.
comment:3 by , 13 years ago
Has patch: | set |
---|
Note:
See TracTickets
for help on using tickets.
Good catch, should describe the non-deprecated method of generic views.