From d475f6f45e61cd1ad7feccddb26b6b8d73983ebd Mon Sep 17 00:00:00 2001 From: Guillaume Moigneu Date: Tue, 27 Oct 2015 10:17:48 +0100 Subject: [PATCH] Django 3.4 local_settings Set a relative path for the local_settings.py to work in Python 3.4 --- hc/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/settings.py b/hc/settings.py index 7dd7a4ba..30d359b6 100644 --- a/hc/settings.py +++ b/hc/settings.py @@ -126,6 +126,6 @@ COMPRESS_OFFLINE = True EMAIL_BACKEND = "djmail.backends.default.EmailBackend" try: - from local_settings import * + from .local_settings import * except ImportError as e: warnings.warn("local_settings.py not found, using defaults")