If using python version 3.9.x, 3.10.x and Django version 4.2 to avoid errors with sqlite+spatialite use glam.utils.prepare_db to manually initialize spatial metadata before running migrations.
More on this issue can be found here.
If using python version 3.9.x, 3.10.x and Django version 4.2 to avoid errors with sqlite+spatialite use glam.utils.prepare_db to manually initialize spatial metadata before running migrations.
More on this issue can be found here.