On Sunday, January 11, 2015, Aymeric Augustin < [email protected]> wrote:
> On 11 janv. 2015, at 06:20, Russell Keith-Magee <[email protected] > <javascript:;>> 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. > Ah - got it. I checked the code, but didn't update my checkout from post-meta-refactor first. In that case, I can see that the backwards incompatibility I raised isn't an issue. However, I'd still have some concerns about a project template that took out all the "useful" utilities, and required users to remember the exact spelling of half a dozen builtins to have functionality that would have historically been automatic. Yours, Russ Magee %-) -- 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/CAJxq849NwFY8dnwjwrSCRCrxvmEXdGZbfSEsxE2G2Uow_pFqFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
