I am trying to serialize a request in json using my custom iterator. On models, I discover the fields in the model and insert them into a JSON dict, as I need them.
I find it difficult to figure out how to determine which fields were deferred in the model using the deferred or just query function.
Is there a way and how to determine which fields are pending and how to skip them?
source share