We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74a06e5 + 5acf262 commit 8d7e82eCopy full SHA for 8d7e82e
.travis.yml
@@ -23,6 +23,7 @@ before_install:
23
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
24
- sudo apt-get -qq update
25
- sudo apt-get -y install python-dev python3-dev libgdal-dev gdal-bin libstdc++6-4.6-dev
26
+ - sudo apt-get install libsqlite3-mod-spatialite
27
- gdalinfo --version
28
29
install:
tests/settings.py
@@ -1,5 +1,9 @@
1
import os
2
3
+# required by Ubuntu systems and travis
4
+# see https://stackoverflow.com/questions/51425842/django-unable-to-load-the-spatialite-library-extension-mod-spatialite-on-ubuntu
5
+SPATIALITE_LIBRARY_PATH = 'mod_spatialite.so'
6
+
7
DATABASES = {
8
'default': {
9
'ENGINE': 'django.contrib.gis.db.backends.spatialite',
0 commit comments