Opened 15 years ago

Closed 15 years ago

Last modified 13 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

Description

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/context_processors.py
  • Update the documentation
  • Update conf/global_settings.py 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 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Rob Hudson, 15 years ago

Has patch: set

by Rob Hudson, 15 years ago

Attachment: 12066.diff added

comment:2 by Alex Gaynor, 15 years ago

milestone: 1.2
Triage Stage: UnreviewedReady for checkin

LGTM.

comment:3 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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