paramecio2fm/paramecio2/libraries/slugify.py

11 lines
283 B
Python

from slugify import slugify as slugify_func
def slugify(slug, *args, **wargs):
"""Simple wrapper for slugify module https://github.com/un33k/python-slugify
Args:
slug (str): The string to be slugified
"""
return slugify_func(slug, *args, **wargs)