diff --git a/mamweb/settings.py b/mamweb/settings.py

index e1b1781..8767af7 100644
--- a/mamweb/settings.py
+++ b/mamweb/settings.py
@@ -22,9 +22,13 @@ ALLOWED_HOSTS = ['127.0.0.1']
 # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
 
 DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.sqlite3',
-        'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),
-    }
+        'default': {
+            'ENGINE': 'django.db.backends.postgresql_psycopg2',
+            'NAME': 'mam-prod',
+            'USER': 'mam',
+            'TEST': {
+                'NAME': 'mam-test',
+            }
+        }
 }
 
diff --git a/mamweb/settings.py b/mamweb/settings.py
index e1b1781..8767af7 100644
--- a/mamweb/settings.py
+++ b/mamweb/settings.py
@@ -22,9 +22,13 @@ ALLOWED_HOSTS = ['127.0.0.1']
 # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
 
 DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.sqlite3',
-        'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),
-    }
+        'default': {
+            'ENGINE': 'django.db.backends.postgresql_psycopg2',
+            'NAME': 'mam-prod',
+            'USER': 'mam',
+            'TEST': {
+                'NAME': 'mam-test',
+            }
+        }
 }
 
This commit is contained in:
Tomas Gavenciak 2015-07-23 20:12:44 +02:00
parent be3cd4b283
commit 8a4979982d

Diff content is not available