I have some migrations that runs/tests fine on Django 3.0 and 3.1, but
not on 3.2b1.
There's a specific app whose migrations fail with:
django.db.migrations.exceptions.NodeNotFoundError: Migration
prefix_app.000N_fooFoo dependencies reference nonexistent parent node
('app', '000M_bar').
Which migration it is varies between runs, and note that the first app
label looks different than the second. Is there some new way to
auto-generate app labels that leads to this?
In INSTALLED_APPS the app in question is by path: "
prefix.app". In the
AppConfig, "name" is identical to the path, "
prefix.app", while
"label" is "prefix_app". The models do not have an explicit tablename
set and in the database they have been created with
"app_modelnameinlowercase", not "prefix_app_modelnameinlowercase".
HM