code: def clean_slug(self):
          
          slug = self.cleaned_data.get('slug', None)
          if slug is None or len(slug) == 0 and 'title' in self.cleaned_data:
              slug = slugify(self.cleaned_data['title'])
          return slug
docs: slug title if is not provided