Browse Source

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',
+            }
+        }
 }
 
remotes/origin/vysl
Tomas Gavenciak 9 years ago
parent
commit
8a4979982d

Diff Content Not Available