#15299 closed (fixed)
django.core.context_processors.PermWrapper should be moved to django.contrib.auth.context_processors
Reported by: | shailesh | Owned by: | v1v3kn |
---|---|---|---|
Component: | contrib.auth | Version: | 1.2 |
Severity: | Keywords: | easy-pickings | |
Cc: | v1v3kn | 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
django.core.context_processors.PermWrapper specifically is meant for Permissions framework and doesn't really belong to django.core.
It would be a good idea to shift it to django.contrib.auth.context_processors.py
Attachments (2)
Change History (10)
comment:1 by , 14 years ago
Component: | Uncategorized → Authentication |
---|---|
Keywords: | easy-pickings added |
milestone: | → 1.3 |
Triage Stage: | Unreviewed → Accepted |
by , 14 years ago
Attachment: | 15299.diff added |
---|
comment:2 by , 14 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
by , 14 years ago
Attachment: | 15299.2.diff added |
---|
Changed to std DeprecationWarning, updated deprecation policy
comment:3 by , 14 years ago
Cc: | added |
---|
comment:4 by , 14 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:7 by , 14 years ago
@jezdez - Yes, it should; I've made a couple of tweaks to the patch as submitted, including using a PendingDeprecationWarning, adding a release note, and correcting the location of the deprecation note.
Note:
See TracTickets
for help on using tickets.
This ticket requires a couple of things:
It would be good to get this in for 1.3 -- we're already going to have to keep the alias around for a release longer than the auth processor that originally used it.