def slugify(value):
    """
    Normalizes string, converts to lowercase, removes non-alpha characters,
    and converts spaces to hyphens.type(
    """
    import re
    import unicodedata
    from six import text_type
    value = text_type(value)
    value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore'
        ).decode('utf8')
    value = re.sub('[^\\w\\s-]', '-', value).strip().lower()
    value = re.sub('[-\\s]+', '-', value)
    return value
