From fb0f126edc01987143b3047d14c096647150a36e Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Thu, 2 Apr 2020 21:37:19 -0600 Subject: okay, final changes for settings for prod I think --- jthanio/settings/production.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jthanio/settings/production.py b/jthanio/settings/production.py index 9ca4ed7..927a83a 100644 --- a/jthanio/settings/production.py +++ b/jthanio/settings/production.py @@ -6,3 +6,13 @@ try: from .local import * except ImportError: pass + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'OPTIONS': { + 'read_default_file': os.path.join(os.path.expanduser('~'), '.my.cnf'), + } + } + } + -- cgit v1.2.3