While working on this, I converted most of the code of the create_model
part of SchemaEditor
to make it compatible with ModelState
but when I am passing model_state
it is not working fine for 2 tables LogEntry
and Site
. Apart from these 2 when I am testing the same by creating my own tables, then the SchemaEditor
works fine with ModelStates
.
Does anyone have any idea of what’s the reason for this?