Opened 6 years ago

Closed 5 years ago

Last modified 4 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:

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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by robhudson

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

Changed 6 years ago by robhudson

comment:2 Changed 6 years ago by Alex

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

LGTM.

comment:3 Changed 5 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 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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