Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#12963 closed (invalid)

template context processors docs are wrong

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.2-beta
Severity: Keywords: admin context processor documentation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


the docs at have the wrong defaults... copy and pasting:


that creates errors trying to use this to add our own... it makes the admin app die with:

ImproperlyConfigured at /events/shows
Put 'django.core.context_processors.auth' in your TEMPLATE_CONTEXT_PROCESSORS setting in order to use the admin application.

obviously changing the first item in the tuple fixes the problem. needs to be fixed.

bonus question, is there a way to just add to the defaults so this problem doesn't persist with future changes?

Change History (4)

comment:1 Changed 8 years ago by anonymous

comment:2 Changed 8 years ago by chr

actually, the docs are right. a few changesets ago, the auth context_processors are moved to contrib.auth. (as is mentioned in the link you provided). leaving this open, in case i missed something...

comment:3 Changed 8 years ago by Alex Gaynor

Resolution: invalid
Status: newclosed

You're correct.

comment:4 Changed 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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