diff --git a/mayan/settings/includes/common.py b/mayan/settings/includes/common.py index 8f1be98249..d0e6c16f84 100644 --- a/mayan/settings/includes/common.py +++ b/mayan/settings/includes/common.py @@ -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/ diff --git a/mayan/settings/includes/secrets.py.example b/mayan/settings/includes/secrets.py.example index 285178747d..4bfcf67a72 100644 --- a/mayan/settings/includes/secrets.py.example +++ b/mayan/settings/includes/secrets.py.example @@ -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 = ''