Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12066 closed (fixed)

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

Reported by: robhudson 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: UI/UX:


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 robhudson 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by robhudson

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Changed 7 years ago by robhudson

comment:2 Changed 7 years ago by Alex

  • milestone set to 1.2
  • Triage Stage changed from Unreviewed to Ready for checkin


comment:3 Changed 7 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:4 Changed 5 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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