Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#12066 closed (fixed)

django.core.context_processors.auth should be in contrib.auth

Reported by: Rob Hudson Owned by: nobody
Component: Core (Other) Version: 1.1
Severity: Keywords: auth context_processor
Cc: rob@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


As a tiny step towards making Django function with no contrib apps, the auth context processor should live in the contrib auth app directory.

I propose solving this by:

  • Moving the context processor into contrib/auth/
  • Update the documentation
  • Update conf/ to point to the new location
  • Add a backwards compatible shortcut in the old location flagged to be deprecated at some future release.

Attachments (1)

12066.diff (10.0 KB) - added by Rob Hudson 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by Rob Hudson

Has patch: set

Changed 11 years ago by Rob Hudson

Attachment: 12066.diff added

comment:2 Changed 11 years ago by Alex Gaynor

milestone: 1.2
Triage Stage: UnreviewedReady for checkin


comment:3 Changed 10 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

(In [12466]) Fixed #12066 - Moved auth context processor from core to the auth app. Thanks, Rob Hudson.

comment:4 Changed 9 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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