13👍
Ok, I got it. Instead of using super(self.__class__, self).save(*args, **kwargs)
.
I needed super(SlugModel, self).save(*args, **kwargs)
.
Thanks to peppergrower.
Source:stackexchange.com
13👍
Ok, I got it. Instead of using super(self.__class__, self).save(*args, **kwargs)
.
I needed super(SlugModel, self).save(*args, **kwargs)
.
Thanks to peppergrower.