diff options
author | 2018-09-21 22:12:33 +0200 | |
---|---|---|
committer | 2018-09-21 22:12:33 +0200 | |
commit | 2a1f0fae79062d4397fadd1a989f6cee4faadfd3 (patch) | |
tree | d9797978937ec996db20472591a17ec0bee1c9b3 /pysite/settings.py | |
parent | Mount `/admin` site at home subdomain. (diff) |
Allow configuring `PARENT_HOST` via env var.
Diffstat (limited to 'pysite/settings.py')
-rw-r--r-- | pysite/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/settings.py b/pysite/settings.py index 4defbb45..ed732872 100644 --- a/pysite/settings.py +++ b/pysite/settings.py @@ -171,7 +171,7 @@ DEFAULT_HOST = 'home' if DEBUG: PARENT_HOST = 'pythondiscord.local:8000' else: - PARENT_HOST = 'pythondiscord.com' + PARENT_HOST = env('PARENT_HOST', default='pythondiscord.com') # Django REST framework # http://www.django-rest-framework.org |