settings.py: update with settings to use the authentic2 db

This commit is contained in:
Benjamin Dauvergne 2014-05-07 15:52:43 +02:00
parent 4e171d8249
commit 52ad44c3fb
1 changed files with 7 additions and 3 deletions

View File

@ -1,9 +1,13 @@
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '/home/bdauvergne/Code/docbow/docbow.db',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'authentic2',
'USER': 'authentic2',
'PASSWORD': '',
'HOST': 'localhost',
}
}
INSTALLED_APPS=('django.contrib.auth',)
AUTHENTICATION_BACKENDS=('django.contrib.auth.backends.ModelBackend',)
AUTHENTICATION_BACKENDS=('django.contrib.auth.backends.ModelBackend',
'authentic2.backends.ldap_backend.LDAPBackend')
SECRET_KEY='xxx'