From da64ec12a0a803b3698c10381196a6ef38135430 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Fri, 3 Jul 2015 17:50:35 +0200 Subject: [PATCH] Fix: vraceni nastaveni lokalni DB --- mamweb/settings.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/mamweb/settings.py b/mamweb/settings.py index 6ea87900..e1b17817 100644 --- a/mamweb/settings.py +++ b/mamweb/settings.py @@ -23,15 +23,8 @@ ALLOWED_HOSTS = ['127.0.0.1'] DATABASES = { 'default': { -# 'ENGINE': 'django.db.backends.sqlite3', -# 'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'), - 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'mam-prod', - 'USER': 'mam', - 'TEST': { - 'NAME': 'mam-test', - } - + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'), } }