Well, not a single reply. So I'll reply with confirmation that the strategy
below seems to work just fine! Have implemented what I need using that.
Three distinct methods through which django loads a model instance (object)
from database and overriding these provides a hook into making an object
Found this lovely doc:
https://docs.djangoproject.com/en/2.0/ref/models/instances/#customizing-model-loading
But it leaves me with a thirst for more knowledge. My conclusion form
reading it is, that if I wanted to put a hook into some custom code that
always ran after data was loaded from the d
2 matches
Mail list logo