Opened 10 years ago

Closed 6 years ago

#6851 closed Uncategorized (invalid)

Documentation erroneously states TEMPLATE_CONTEXT_PROCESSORS are set

Reported by: roderikk@… Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Creating a new project with SVN HEAD does not set the TEMPLATE_CONTEXT_PROCESSORS in the file.

Don't know whether this is a bug or a feature.

Seen here:

Change History (3)

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: invalid
Status: newclosed

The documentation says that TEMPLATE_CONTEXT_PROCESSORS is a setting, which is correct. It doesn't say that the setting will necessarily be part of your project's settings file.

Settings are a combination of Django's global settings and your particular settings file (which may or may not be

comment:2 Changed 6 years ago by anonymous

Easy pickings: unset
Resolution: invalid
Severity: Normal
Status: closedreopened
Type: Uncategorized
UI/UX: unset

The documentation does state that there is a non-empty default value for this setting:



and here:

Isn't this wrong? I don't see any context processors in my files.

comment:3 Changed 6 years ago by Carl Meyer

Resolution: invalid
Status: reopenedclosed

All of the built-in settings have global defaults, which are the effective value of the setting if the setting doesn't appear in your own settings file. TEMPLATE_CONTEXT_PROCESSORS does have the default value that it is documented to have, if that value isn't overridden in your own settings file.

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