On 11 janv. 2015, at 06:20, Russell Keith-Magee <[email protected]> wrote:

> TEMPLATE_CONTEXT_PROCESSORS isn't in the project template at present; it is a 
> default value inherited from global settings
> (…)
> ISTM that we can't pare that down with just auth and request without having 
> some pretty profound consequences on existing sites.

In Django 1.8 — which isn’t the present yet, but soon will be — 
TEMPLATE_CONTEXT_PROCESSORS is deprecated and the project template contains:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.i18n',
                'django.template.context_processors.tz',
                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

Collin is talking about that list. Since 1.8 hasn’t been released yet, there 
aren’t any backwards compatibility issues, not even with third-party 
documentation.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/DE45D646-0BF0-49FF-8769-1206F7AF49A6%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to