Short summary of last week:
The first challenge was to make auxiliary field creation work with
ForeignKey targets. The first attempt was to move parts of the model
preparation mechanics to AppCache.

This turned out to be a dead end because when AppCache is being
populated, while importing models other things also get imported, like
ModelAdmin -- things that are often defined in the same modules as
models. These in turn require the models from contrib apps to be ready
on import.

So the other option was chosen, a field_prepared signal. After a few
days of work I can finally at least run the test suite with auxiliary
FK fields. The results show there's still a long road ahead of me, on
sqlite, I get 306 errors and 19 failures, but I suspect this can be
reduced drastically by fixing fixture loading.

That's about it for now, the next week will be a busy one.

Michal

[1] https://github.com/koniiiik/django

Attachment: signature.asc
Description: Digital signature

Reply via email to