You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use --no-migrations option to create a test database by inspecting all models. This usually works well, but I got a problem with django models that have an app_label meta attr. Such models are ignored and do not create automatically.
I use
--no-migrations
option to create a test database by inspecting all models. This usually works well, but I got a problem with django models that have anapp_label
meta attr. Such models are ignored and do not create automatically.Model for example:
Tables list if we do not use
app_label
(sapdepartment
table exists):Tables list if we use
app_label
(there is notsapdepartment
table):The text was updated successfully, but these errors were encountered: