summaryrefslogtreecommitdiffstats
path: root/test_settings
blob: 101830c9e38ff22b4abccda682886a9b240df051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import os.path

DEBUG = False

if DEBUG:
	DEBUG_TOOLBAR = True
	TEMPLATE_DEBUG = True
	DEBUG_TOOLBAR_CONFIG = {
			'INTERCEPT_REDIRECTS': False,
	}
INTERNAL_IPS = ('127.0.0.1',)

SECRET_KEY = 'coin'

from authentic2.settings import INSTALLED_APPS, \
     MIDDLEWARE_CLASSES

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(os.path.dirname(__file__), 'authentic2.sqlite'),
    },
}

if DEBUG:
	INSTALLED_APPS += ('debug_toolbar',)
	MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)


LANGUAGE_CODE = 'en'

IDP_SAML2 = True
#IDP_OPENID = True