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