From b14b92c5ebd04225245f1217b1e8b540120ccc13 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Thu, 14 May 2015 02:31:14 +0200 Subject: [PATCH] Docasny prechod na sqlite v PROD --- mamweb/settings_prod.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mamweb/settings_prod.py b/mamweb/settings_prod.py index 259ad107..b2d0506c 100644 --- a/mamweb/settings_prod.py +++ b/mamweb/settings_prod.py @@ -22,9 +22,11 @@ ALLOWED_HOSTS = ['mam.mff.cuni.cz'] DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'mamweb', - 'USER': 'mamweb', + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db-prod-temp.sqlite3'), +# 'ENGINE': 'django.db.backends.postgresql_psycopg2', +# 'NAME': 'mam-prod', +# 'USER': 'mam', }, }