zut.slugify
- zut.slugify(value: str, *, separator: str = '-', keep: str = '_', as_separator: str = None, strip_separator: bool = True, strip_keep: bool = True, if_none: str = 'none') str
Generate a slug.
Difference between keep and as_separator - keep: these characters are kept as is in the resulting slug - as_separator: these characters are transformed to a separator before the operation
Identical to django.utils.text.slugify if no options are given.