From 9628a397f3582b72cbc7d70e293fe9f2ef8bb61f Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Wed, 26 Jun 2024 11:14:16 +0200 Subject: [PATCH] Use custom django-imagekit with extensions (use webp + generate srcset). See the following PRs: - https://github.com/matthewwithanm/django-imagekit/pull/574 - https://github.com/matthewwithanm/django-imagekit/pull/575 --- main/templates/main/bar.html | 9 +++------ requirements.txt | 4 +++- studibars/settings.py | 3 +++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/main/templates/main/bar.html b/main/templates/main/bar.html index 5990635..71ba7b5 100644 --- a/main/templates/main/bar.html +++ b/main/templates/main/bar.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load imagekit %} {% block content %}
@@ -11,15 +12,11 @@

{{ bar.name }}