change space replacment character from - to _

This commit is contained in:
Puyodead1 2021-06-28 14:19:16 -04:00
parent 6d0d3edf78
commit 63fb7b4486

View File

@ -36,7 +36,7 @@ def slugify(s,
lower=True, lower=True,
spaces=False, spaces=False,
only_ascii=False, only_ascii=False,
space_replacement="-"): space_replacement="_"):
""" """
Creates a unicode slug for given string with several options. Creates a unicode slug for given string with several options.
L and N signify letter/number. L and N signify letter/number.