From 0f23c5f33944712b86a7feaf940aae2d40c39418 Mon Sep 17 00:00:00 2001 From: Remilia Da Costa Faro Date: Sun, 4 May 2025 23:18:54 +0200 Subject: [PATCH] Fixed bug where uploaded image didn't had a primary variant --- images/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/images/views.py b/images/views.py index ed1dec3..68996ee 100644 --- a/images/views.py +++ b/images/views.py @@ -91,6 +91,7 @@ def upload(request): file_type=file_extension, is_full_size=True, available=True, + is_primary_variant=True, ) bucket.upload_fileobj(