Opened 8 years ago

Closed 8 years ago

#9627 closed (wontfix)

login_required argument should be supported by all generic views

Reported by: hwaara@… 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: UI/UX:

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.

Change History (1)

comment:1 Changed 8 years ago by James Bennett

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: wontfix
Status: newclosed

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.

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