Opened 6 years ago

Closed 6 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 6 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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