import django
from django.conf import global_settings

SECRET_KEY = '!DJANGO_JET_TESTS!'

DEBUG = True
TEMPLATE_DEBUG = DEBUG
DEBUG_PROPAGATE_EXCEPTIONS = True

ROOT_URLCONF = 'jet.tests.urls'

INSTALLED_APPS = (
    'jet.dashboard',
    'jet',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.admin',
    'jet.tests',
)

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
)

if django.VERSION[:2] < (1, 9):
    TEMPLATE_CONTEXT_PROCESSORS = tuple(global_settings.TEMPLATE_CONTEXT_PROCESSORS) + (
        'django.core.context_processors.request',
    )
else:
    TEMPLATE_CONTEXT_PROCESSORS = tuple(global_settings.TEMPLATE_CONTEXT_PROCESSORS) + (
        'django.template.context_processors.request',
    )

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

TIME_ZONE = 'UTC'
LANGUAGE_CODE = 'en-US'
USE_I18N = True
USE_L10N = True

MEDIA_ROOT = ''
MEDIA_URL = ''

STATIC_URL = '/static/'





@@ -1,12 +1,22 @@
+import os%0A
 import djang
@@ -58,16 +58,71 @@
 ttings%0A%0A
+BASE_DIR = os.path.dirname(os.path.dirname(__file__))%0A%0A
 SECRET_K
@@ -1005,37 +1005,257 @@
 TEMPLATE
-_CONTEXT_PROCESSORS =
+S = %5B%0A        %7B%0A            'BACKEND': 'django.template.backends.django.DjangoTemplates',%0A            'DIRS': %5Bos.path.join(BASE_DIR, 'templates')%5D,%0A            'APP_DIRS': True,%0A            'OPTIONS': %7B%0A                'context_processors':
  tuple(g
@@ -1294,32 +1294,44 @@
 PROCESSORS) + (%0A
+            
         'django.
@@ -1372,17 +1372,61 @@
 t',%0A    
-)
+            )%0A            %7D,%0A        %7D,%0A    %5D
 %0A%0ADATABA

Fix deprecated messages