From 6741ed490b2d21b22f05c856df14b76385215366 Mon Sep 17 00:00:00 2001 From: Guillaume Moigneu Date: Tue, 27 Oct 2015 09:56:37 +0100 Subject: [PATCH 1/2] Missing django-appconf requirement Add django-appconf to requirements --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6424645a..e236d131 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ Django==1.8.2 django_compressor +django-appconf django-ses-backend psycopg2==2.6 djmail premailer pygments -requests \ No newline at end of file +requests From d475f6f45e61cd1ad7feccddb26b6b8d73983ebd Mon Sep 17 00:00:00 2001 From: Guillaume Moigneu Date: Tue, 27 Oct 2015 10:17:48 +0100 Subject: [PATCH 2/2] 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")