"""
django-analytical testing settings.
"""

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': ':memory:',
    }
}

INSTALLED_APPS = [
    'django.contrib.sites',
    'django.contrib.contenttypes',
    'django.contrib.auth',
    'analytical',
]

SECRET_KEY = 'testing'

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
)

@@ -431,8 +431,134 @@
 are',%0A)%0A
+%0ATEMPLATES = %5B%0A    %7B%0A        'BACKEND': 'django.template.backends.django.DjangoTemplates',%0A        'APP_DIRS': True,%0A    %7D,%0A%5D%0A

Test settings: Add TEMPLATES for Django 1.10+