Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-shrivastava committed Apr 18, 2021
1 parent cf1a397 commit 0994cf5
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions messageapi/settings.py
Expand Up @@ -21,7 +21,7 @@

# SECURITY WARNING: keep the secret key used in production secret!

SECRET_KEY = '$vylrtjfz&q6jfv5tvsv&$i2d_i!*r&3g6s-#71q$q7rxwxs_v'
SECRET_KEY = '<>'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down Expand Up @@ -75,27 +75,10 @@
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# }
# }

DATABASES = {
'default': {
# Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'ENGINE': 'django.db.backends.postgresql_psycopg2',
# Or path to database file if using sqlite3.
'NAME': 'de29eth422657e',
# Not used with sqlite3.
'USER': 'zzmreyewyuzlfy',
# Not used with sqlite3.
'PASSWORD': '0c3963ed6c7ed2eff88c18aba9034d580095e8a391ad72e426b363df530a6afc',
# Set to empty string for localhost. Not used with sqlite3.
'HOST': 'ec2-54-221-255-153.compute-1.amazonaws.com',
# Set to empty string for default. Not used with sqlite3.
'PORT': '5432',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}

Expand Down

0 comments on commit 0994cf5

Please sign in to comment.