Skip to content

Commit

Permalink
require ssl in the db
Browse files Browse the repository at this point in the history
Signed-off-by: Mairi Dulaney <jdulaney@fedoraproject.org>
  • Loading branch information
mldulaney committed Dec 13, 2018
1 parent 5d43642 commit f94bafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_humans/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def __str__(self):
'PORT': 5434
}
elif dj_database_url.config():
DATABASES['default'] = dj_database_url.config()
DATABASES['default'] = dj_database_url.config(ssl_require=True)

# Internationalization
# https://docs.djangoproject.com/en/dev/topics/i18n/
Expand Down

0 comments on commit f94bafc

Please sign in to comment.