From f2596c25a23259727febb8fbbf0a2a78e639778a Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Sat, 21 Jun 2025 22:56:31 +0300 Subject: [PATCH] Fixes: 1) Ensure `unicode_slugify_function` handles non-string input by converting to string. Extra: None; --- core/utils/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/db.py b/core/utils/db.py index 0371879c..c4b61c86 100644 --- a/core/utils/db.py +++ b/core/utils/db.py @@ -21,7 +21,7 @@ def list_to_queryset(model: Model, data: list): def unicode_slugify_function(content): return slugify( - text=content, + text=str(content), allow_unicode=True, max_length=88, word_boundary=True,