aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/gcloud_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/settings/gcloud_settings.py')
-rw-r--r--config/settings/gcloud_settings.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/config/settings/gcloud_settings.py b/config/settings/gcloud_settings.py
index c0c79a5..8eb6ac2 100644
--- a/config/settings/gcloud_settings.py
+++ b/config/settings/gcloud_settings.py
@@ -236,10 +236,20 @@ else:
# $ cloud_sql_proxy -instances=[INSTANCE_CONNECTION_NAME]=tcp:3306
#
# See https://cloud.google.com/sql/docs/mysql-connect-proxy
+ # DATABASES = {
+ # 'default': {
+ # 'ENGINE': 'django.db.backends.sqlite3',
+ # 'NAME': os.path.join(ROOT_DIR, 'ctrack.db'),
+ # }
+ # }
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': os.path.join(ROOT_DIR, 'ctrack.db'),
+ 'ENGINE': 'django.db.backends.postgresql',
+ 'NAME': 'ctrack',
+ 'USER': 'postgres',
+ 'PASSWORD': 'postgres',
+ 'HOST': '127.0.0.1',
+ 'PORT': '5432',
}
}
# [END db_setup]