saving the slug with

    def save(self, *args, **kwargs):
        print(" = ",
        if not
            self.slug = slugify(f"{self.title}-{}")
        super(Job, self).save(*args, **kwargs)

I want to store the slug with the id - self.slug = slugify(f"{self.title}-{}-{}") - how do I get the ID when its just getting created and not yet available ?

From the docs at Model instance reference | Django documentation | Django

There’s no way to tell what the value of an ID will be before you call save() , because that value is calculated by your database, not by Django.