code: def slugify(text, delim=u'-'):
      
      result = []
      for word in _punct_re.split(text.lower()):
          result.extend(unidecode(word).split())
      return unicode(delim.join(result))
docs: Generate an ASCII-only slug.