From 2a1f0fae79062d4397fadd1a989f6cee4faadfd3 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Fri, 21 Sep 2018 22:12:33 +0200 Subject: Allow configuring `PARENT_HOST` via env var. --- pysite/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pysite/settings.py') 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 -- cgit v1.2.3