I have a situation where I need a signal for when a model object is fully instantiated.
Currently, there are signals for pre_init and post_init. However, when post_init is fired, the object is not fully 'initialized' in the sense that annotations have not yet been added to the object. In django.db.models.query there is class ModelIterable(BaseIterable) In this class there is code to run a query and then apply annotations. Should there be a new signal added to Django that is fired after the annotations are complete and the object is fully instantiated? Maybe a signal called 'instantiation_complete'? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/bc4516df-71da-429f-af80-7c98a60ab91f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.