m2m-refactor: r11724 broke model definitions outside of a "models" module (e.g. in tests)
|Reported by:||emulbreh||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 app_label).
I'd suggest setting app_label for auto created models instead of scanning the module name.