Added required postgres database configuration

This commit is contained in:
pwhipp
2014-07-10 17:01:44 +10:00
parent 4adab09214
commit b9bf845964
2 changed files with 9 additions and 4 deletions

View File

@@ -129,10 +129,12 @@ WSGI_APPLICATION = 'mayan.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mayan',
'USER': 'mayan',
'PASSWORD': DBPASSWORD,
'HOST': '',
'PORT': ''}}
# Internationalization
# https://docs.djangoproject.com/en/1.6/topics/i18n/

View File

@@ -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!
SECRET_KEY = 'Ei5lo4oh zooW4xaj ic6Uehaa Vahy2zae seej1OhK iwoh3ziX gai3Ohng Igh3phae'
DBPASSWORD = '<change me to the db user password>'