1👍
✅
You can achieve this by using __class__
magic property
self.slug = create_slug(self.__class__, self.slug)
Source:stackexchange.com