I set the receiver to a signal post_save, and I was hoping to catch signals for all the proxies of my model by setting the sender to the main model, but it doesn't seem to work:
class MyObject(models.Model):
....
class MyObjectProxy(MyObject):
class Meta:
proxy = True
@receiver(post_save, sender=MyObject)
...
My receiver does not start when this happens:
obj = MyObjectProxy()
obj.save()
This is normal? Should I install a receiver for each proxy? Can I install senderin the list of models?
Thank.
source
share