Re: GeoDjango with SpatialLite on Windows 10

2021-08-15 Thread Tugg Speedman
OK, I got it. As it turns out, GDAL has everything you need, including the SQLite database. There is only one important fact, you have to load the DLL prior Django loads his SQLite. Because Django loads the one from Python it self. Therefore i did put the necessary code into the settings.py.

Re: GeoDjango with SpatialLite on Windows 10

2021-08-12 Thread Michael Ross
On Thu, 12 Aug 2021 04:15:57 -0700 (PDT) Tugg Speedman wrote: > > Hello everyone, > > I'm new to GeoDjango and therefore I tried to follow the tutorial > (https://docs.djangoproject.com/en/3.2/ref/contrib/gis/tutorial/) first. > But the problem is, it doesn't work with SQLite a.k.a

GeoDjango with SpatialLite on Windows 10

2021-08-12 Thread Tugg Speedman
Hello everyone, I'm new to GeoDjango and therefore I tried to follow the tutorial (https://docs.djangoproject.com/en/3.2/ref/contrib/gis/tutorial/) first. But the problem is, it doesn't work with SQLite a.k.a SpatialLite. When I try to build the migrations, a Windows error pops up (see