Added required postgres database configuration
This commit is contained in:
@@ -129,10 +129,12 @@ WSGI_APPLICATION = 'mayan.wsgi.application'
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
'NAME': 'mayan',
|
||||||
}
|
'USER': 'mayan',
|
||||||
}
|
'PASSWORD': DBPASSWORD,
|
||||||
|
'HOST': '',
|
||||||
|
'PORT': ''}}
|
||||||
|
|
||||||
# Internationalization
|
# Internationalization
|
||||||
# https://docs.djangoproject.com/en/1.6/topics/i18n/
|
# https://docs.djangoproject.com/en/1.6/topics/i18n/
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
# Keep this restricted to just the stuff you really need to keep secret so that it does not need to change or
|
||||||
|
# be modified often.
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
SECRET_KEY = 'Ei5lo4oh zooW4xaj ic6Uehaa Vahy2zae seej1OhK iwoh3ziX gai3Ohng Igh3phae'
|
SECRET_KEY = 'Ei5lo4oh zooW4xaj ic6Uehaa Vahy2zae seej1OhK iwoh3ziX gai3Ohng Igh3phae'
|
||||||
|
DBPASSWORD = '<change me to the db user password>'
|
||||||
|
|||||||
Reference in New Issue
Block a user