Opened 16 years ago
Closed 16 years ago
#9627 closed (wontfix)
login_required argument should be supported by all generic views
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Generic views | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently, only the create_update built-in generic views support a login_required argument.
For consistency (and convenience), I think all views under django.views.generic.* should support this argument.
Note:
See TracTickets
for help on using tickets.
Since you can just as easily decorate them in the URLConf, I don't see a good argument for this; the existing views which take it should probably evolve over time to not take it anymore.