settings.py: update with settings to use the authentic2 db
This commit is contained in:
parent
4e171d8249
commit
52ad44c3fb
10
settings.py
10
settings.py
|
@ -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'
|
||||
|
|
Reference in New Issue