[Answered ]-Django post_save signal seemingly triggered only on 2nd save or after


The signal is sent when the Product instance is saved, not when the Color and Size instances are saved. Therefore, on the first try, your post_save() function’s Product instance will not (yet) have the Color and Size instances, as they are not saved through the Product model’s save() method.

Check out these two links:

Leave a comment