+ STATIC_URL='/static/',
+ STATIC_ROOT='./static/',
+ STATICFILES_STORAGE = 'fnpdjango.pipeline_storage.GzipPipelineManifestStorage',
+ MIDDLEWARE=[
+ 'django.middleware.common.CommonMiddleware',
+ 'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
+ ],
+ FNPDJANGO_REALIP = True,
+ ROOT_URLCONF='tests.urls',
+ TEMPLATES=[
+ {
+ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
+ 'APP_DIRS': True,
+ 'OPTIONS': {
+ 'context_processors': [
+ 'django.contrib.auth.context_processors.auth',
+ 'django.contrib.messages.context_processors.messages',
+ ]
+ }
+ },
+ ],