mirror of
https://github.com/Hopiu/django-uuslug.git
synced 2026-03-16 20:10:24 +00:00
Update uuslug.py
Updated the call to pyslugify to use keyword- instead of positional arguments.
This commit is contained in:
parent
73c2c2c34f
commit
fd439bb574
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue