Fixes: 1) Ensure unicode_slugify_function handles non-string input by converting to string.
Extra: None;
This commit is contained in:
parent
5d7075ee2e
commit
f2596c25a2
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ def list_to_queryset(model: Model, data: list):
|
||||||
|
|
||||||
def unicode_slugify_function(content):
|
def unicode_slugify_function(content):
|
||||||
return slugify(
|
return slugify(
|
||||||
text=content,
|
text=str(content),
|
||||||
allow_unicode=True,
|
allow_unicode=True,
|
||||||
max_length=88,
|
max_length=88,
|
||||||
word_boundary=True,
|
word_boundary=True,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue