From 6adfdbabe0d44c17f32abc9d48a6e252e2a0792e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 19:16:34 -0700 Subject: Add signup and password reset --- takahe/settings/base.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'takahe/settings/base.py') diff --git a/takahe/settings/base.py b/takahe/settings/base.py index dd89818..04a43dd 100644 --- a/takahe/settings/base.py +++ b/takahe/settings/base.py @@ -108,6 +108,11 @@ STATICFILES_DIRS = [ ALLOWED_HOSTS = ["*"] +MAIN_DOMAIN = os.environ["TAKAHE_MAIN_DOMAIN"] +if "/" in MAIN_DOMAIN: + print("TAKAHE_MAIN_DOMAIN should be just the domain name - no https:// or path") + +EMAIL_FROM = os.environ["TAKAHE_EMAIL_FROM"] # Note that this MUST be a fully qualified URL in production MEDIA_URL = os.environ.get("TAKAHE_MEDIA_URL", "/media/") -- cgit v1.2.3