def slugify(text):
    if django.VERSION[:2] < (1, 5):
        from django.template.defaultfilters import slugify as django_slugify
    else:
        from django.utils.text import slugify as django_slugify

    return django_slugify(force_text(unidecode(text)))
Run 'function' with the given Twisted log observers.
dataset/ETHPy150Open hovel/pybbm/pybb/compat.py/slugify--crossover with--dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/testtools/deferredruntest.py/run_with_log_observers