Changeset 7e8ea71


Ignore:
Timestamp:
Jul 1, 2012, 3:29:22 AM (14 years ago)
Author:
ASA Group Database <asa-db@…>
Branches:
master, space-access, stable, stage
Children:
7a986f2
Parents:
884ab7c
git-author:
Alex Dehnert <adehnert@…> (07/01/12 03:29:22)
git-committer:
ASA Group Database <asa-db@…> (07/01/12 03:29:22)
Message:

Update TEMPLATE_* for Django 1.4

Django renamed a standard TEMPLATE_LOADERS class and a standard
TEMPLATE_CONTEXT_PROCESSORS class at some point. In Django 1.4,
the old values were removed, so switch to using the new ones.

This isn't all the changes we need for Django 1.4, but it's a
significant chunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/settings.py

    r6dfcd66 r7e8ea71  
    8080TEMPLATE_LOADERS = (
    8181    'django.template.loaders.filesystem.Loader',
    82     'django.template.loaders.app_directories.load_template_source',
     82    'django.template.loaders.app_directories.Loader',
    8383#     'django.template.loaders.eggs.load_template_source',
    8484)
    8585
    8686TEMPLATE_CONTEXT_PROCESSORS = (
    87     "django.core.context_processors.auth",
     87    "django.contrib.auth.context_processors.auth",
    8888    "django.core.context_processors.debug",
    8989    "django.core.context_processors.i18n",
Note: See TracChangeset for help on using the changeset viewer.