From a374bd2171e920219b8a7ba8cc487a97eb539220 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 2 Oct 2019 14:35:43 +0200 Subject: [PATCH] put prod database settings --- pokercc/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pokercc/settings.py b/pokercc/settings.py index 393b003..3790a1d 100644 --- a/pokercc/settings.py +++ b/pokercc/settings.py @@ -79,8 +79,12 @@ WSGI_APPLICATION = 'pokercc.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'ENGINE': 'django.db.backends.postgresql' #'django.db.backends.sqlite3', + 'NAME': 'stax_rumble' #os.path.join(BASE_DIR, 'db.sqlite3'), + 'USER': 'stax', + 'PASSWORD': 'staxkikoo', + 'HOST': 'postgresql-stax.alwaysdata.net', + # 'PORT': '5432', } }