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