[Answer]-Why does `post_save` signal get emitted on object creation along with object save?

1👍

Because “creation” is instantiation plus saving.

create(**kwargs)

A convenience method for creating an object and saving it all in one step. Thus:

p = Person.objects.create(first_name="Bruce", last_name="Springsteen")

and:

p = Person(first_name="Bruce", last_name="Springsteen")
p.save(force_insert=True)

are equivalent.

Leave a comment