code: def slugify(value):
      ''''
      Slugify given value.
      Credit to Djangoproject https://docs.djangoproject.com/en/2.0/_modules/django/utils/text/#slugify
      '''
      value = re.sub(r'[^\w\s-]', '', value).strip().lower()
      return re.sub(r'[-\s]+', '-', valuef slugify(value):
      ''''
      Slugify given value.
      Credit to Djangoproject https://docs.djangoproject.com/en/2.0/_modules/django/utils/text/#slugify
      '''
      value = re.sub(r'[^\w\s-]', '', value).strip().lower()
      return re.sub(r'[-\s]+', '-', value)
docs: Slugify given value.
      Credit to Djangoproject https://docs.djangoproject.com/en/2.0/_modules/django/utils/text/#slugify