#14792: error in the default for TEMPLATE_CONTEXT_PROCESSORS
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords: settings
TEMPLATE_CONTEXT_PROCESSORS
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by lukeplant):
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
Comment:
This isn't technically an error - if settings.py doesn't have
TEMPLATE_CONTEXT_PROCESSORS it is taken from
django/conf/global_settings.py, which does set it to the list given in the
documentation.
The issue is that if you need to add something to
TEMPLATE_CONTEXT_PROCESSORS, you need to copy from global_settings.py and
then change. There are other similar settings for which we do this (like
FILE_UPLOAD_HANDLERS, IGNORABLE_404_ENDS), but changing
TEMPLATE_CONTEXT_PROCESSORS is probably going to be more common, and I
imagine it would be more common than things like STATICFILES_FINDERS which
is in the project template, so we should include this.
--
Ticket URL: <http://code.djangoproject.com/ticket/14792#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.