from slugify import slugify as slugify_func def slugify(slug, *args, **wargs): return slugify_func(slug, *args, **wargs)