From fd439bb57417e593acb1704b94c592014c592f8d Mon Sep 17 00:00:00 2001 From: Benedikt Willi Date: Fri, 17 Jun 2022 10:21:47 +0200 Subject: [PATCH] Update uuslug.py Updated the call to pyslugify to use keyword- instead of positional arguments. --- uuslug/uuslug.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uuslug/uuslug.py b/uuslug/uuslug.py index 8f34160..a51cec7 100644 --- a/uuslug/uuslug.py +++ b/uuslug/uuslug.py @@ -11,8 +11,9 @@ def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, Make a slug from a given text. """ - return smart_str(pyslugify(text, entities, decimal, hexadecimal, max_length, - word_boundary, separator, save_order, stopwords)) + return smart_str(pyslugify(text, entities=entities, decimal=decimal, hexadecimal=hexadecimal, + max_length=max_length, word_boundary=word_boundary, + separator=separator, save_order=save_order, stopwords=stopwords)) def uuslug(s, instance, entities=True, decimal=True, hexadecimal=True,