About Disabling Migrations in Tests

To skip delays caused by migration resolution and applying in tests, set this setting for the test database:

DATABASES["default"]["TEST"] = {
    "MIGRATE": False
}

It will just create the schema directly for each test case.

Testing Databases Django 5.x Django 4.2 Django 3.2