m2m-refactor: r11724 broke model definitions outside of a "models" module (e.g. in tests)
|Reported by:||Johannes Dollinger||Owned by:||nobody|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
While not documented, it was possible to declare a model in tests.py (by explicitly setting
I'd suggest setting
app_label for auto created models instead of scanning the module name.