Browse Source
[1mindex e1b1781..8767af7 100644[m [1m--- a/mamweb/settings.py[m [1m+++ b/mamweb/settings.py[m [36m@@ -22,9 +22,13 @@[m [mALLOWED_HOSTS = ['127.0.0.1'][m # https://docs.djangoproject.com/en/1.7/ref/settings/#databases[m [m DATABASES = {[m [31m- 'default': {[m [31m- 'ENGINE': 'django.db.backends.sqlite3',[m [31m- 'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),[m [31m- }[m [32m+[m[32m 'default': {[m [32m+[m[32m 'ENGINE': 'django.db.backends.postgresql_psycopg2',[m [32m+[m[32m 'NAME': 'mam-prod',[m [32m+[m[32m 'USER': 'mam',[m [32m+[m[32m 'TEST': {[m [32m+[m[32m 'NAME': 'mam-test',[m [32m+[m[32m }[m [32m+[m[32m }[m }[m [m [1mdiff --git a/mamweb/settings.py b/mamweb/settings.py[m [1mindex e1b1781..8767af7 100644[m [1m--- a/mamweb/settings.py[m [1m+++ b/mamweb/settings.py[m [36m@@ -22,9 +22,13 @@[m [mALLOWED_HOSTS = ['127.0.0.1'][m # https://docs.djangoproject.com/en/1.7/ref/settings/#databases[m [m DATABASES = {[m [31m- 'default': {[m [31m- 'ENGINE': 'django.db.backends.sqlite3',[m [31m- 'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),[m [31m- }[m [32m+[m[32m 'default': {[m [32m+[m[32m 'ENGINE': 'django.db.backends.postgresql_psycopg2',[m [32m+[m[32m 'NAME': 'mam-prod',[m [32m+[m[32m 'USER': 'mam',[m [32m+[m[32m 'TEST': {[m [32m+[m[32m 'NAME': 'mam-test',[m [32m+[m[32m }[m [32m+[m[32m }[m }[m [mremotes/origin/vysl
Tomas Gavenciak
9 years ago