From 8af3e6cfb743a3732d7b8cce1a415e2751a25057 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Sun, 13 Oct 2024 09:32:56 +0200 Subject: [PATCH] fix --- alkatorapi/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alkatorapi/views.py b/alkatorapi/views.py index 63f774e..48ed837 100644 --- a/alkatorapi/views.py +++ b/alkatorapi/views.py @@ -333,7 +333,7 @@ def products(request): { 'name': product.name, 'description': product.description, - 'img': product.img.path, + 'img': product.img.url, 'price': product.price, 'quantity': product.quantity, }