<filename>tests/settings.py
# -*- coding: utf-8
from __future__ import absolute_import, print_function, unicode_literals

DEBUG = True
USE_TZ = True
USE_I18N = True

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = <KEY>

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

ROOT_URLCONF = "tests.urls"

INSTALLED_APPS = [
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.sites",
    "django_ftl.apps.DjangoFtlConfig",
    "tests",
]

STATIC_URL = '/static/'

SITE_ID = 1

MIDDLEWARE = ()

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

LANGUAGE_CODE = 'en'

<filename>tests/settings.py
# -*- coding: utf-8
from __future__ import absolute_import, print_function, unicode_literals

DEBUG = True
USE_TZ = True
USE_I18N = True

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = <KEY>

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

ROOT_URLCONF = "tests.urls"

INSTALLED_APPS = [
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.sites",
    "django_ftl.apps.DjangoFtlConfig",
    "tests",
]

STATIC_URL = '/static/'

SITE_ID = 1

MIDDLEWARE = ()

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

LANGUAGE_CODE = 'en'

# -*- coding: utf-8 # SECURITY WARNING: keep the secret key used in production secret!