def uslugify(text, sep):
 if (text is None):
  return u''
 tag_id = RE_TAGS.sub(u'', unicodedata.normalize(u'NFKD', text)).strip().lower()
 return RE_WORD.sub(u'', tag_id).replace(u' ', sep)

def uslugify ( text , sep ) : if ( text is None ) : return u'' tag_id = RE_TAGS . sub ( u'' , unicodedata . normalize ( u'NFKD' , text ) ) . strip ( ) . lower ( ) return RE_WORD . sub ( u'' , tag_id ) . replace ( u' ' , sep )
unicode slugify .