[Fixed]-Django admin breaks after upgrading to 1.8.1

49👍

The TEMPLATE_CONTEXT_PROCESSORS was removed, and replaced with the TEMPLATES setting in Django 1.8.

You will have to modify your settings according to this guide, by removing the old TEMPLATE_CONTEXT_PROCESSORS and TEMPLATE_DIRS settings with:

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

Leave a comment