From 8957a71ef9e1d7ec2768f6612a091aab5e91fd37 Mon Sep 17 00:00:00 2001 From: Date: Fri, 8 Dec 2017 01:18:10 +0300 Subject: [PATCH] heroku --- mysite/settings.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/mysite/settings.py b/mysite/settings.py index 1bcacff..f96a011 100644 --- a/mysite/settings.py +++ b/mysite/settings.py @@ -86,13 +86,24 @@ DATABASES = { } } ''' +# DATABASES = { +# 'default': { +# 'ENGINE': 'django.db.backends.postgresql_psycopg2', +# 'NAME': 'mysite', +# 'USER': 'anya', +# 'PASSWORD': 'pupsi4ek', +# 'HOST': '127.0.0.1', +# 'PORT': '5432', +# } +# } + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'mysite', - 'USER': 'anya', - 'PASSWORD': 'pupsi4ek', - 'HOST': '127.0.0.1', + 'NAME': 'ddg4djbee66kal', + 'USER': 'jrowflkieuofex', + 'PASSWORD': 'ec999abac6adefb9876d38458e3aad38c009ebeb78be01783c5a48268e10f04a', + 'HOST': 'ec2-54-247-82-87.eu-west-1.compute.amazonaws.com', 'PORT': '5432', } }