From 694a3d6d82d7025125d5336c885cbb7e72a12ca8 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 27 Aug 2019 03:27:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BD=D0=B0=20DEV=20=D0=BD=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D0=BB=D1=8C=D0=BD=D1=83=D1=8E=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D1=83=20=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/course/templates/course/_items.html | 2 +- project/settings.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index ac011437..1aceba54 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -9,7 +9,7 @@ > {% if course.cover and course.cover.image_thumbnail %} - + {% else %} {% endif %} diff --git a/project/settings.py b/project/settings.py index 17b0d706..211a732b 100644 --- a/project/settings.py +++ b/project/settings.py @@ -253,6 +253,8 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') RESOURCES_ROOT = os.path.join(BASE_DIR, 'resources') +IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY = 'imagekit.cachefiles.strategies.Optimistic' + LOGIN_URL = '/' # Email # https://github.com/anymail/django-anymail