Document side effects of importing uninstalled models
|Reported by:||James Bennett||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If a model is in an application not listed in
INSTALLED_APPS, but is imported by some piece of code that's nonetheless in use, weird behavior can ensue (up to and including other models receiving reverse relations and thus erroring on delete operations when they try to select or delete from a non-existent related table).
This should be documented a bit more clearly, to ensure people don't trip over it.
Change History (6)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|