/usr/local/lib/python3.9/site-packages/django/contrib/gis/db/backends/spatialite
from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures from django.db.backends.sqlite3.features import ( DatabaseFeatures as SQLiteDatabaseFeatures, ) from django.utils.functional import cached_property class DatabaseFeatures(BaseSpatialFeatures, SQLiteDatabaseFeatures): can_alter_geometry_field = False # Not implemented supports_3d_storage = True @cached_property def supports_area_geodetic(self): return bool(self.connection.ops.geom_lib_version()) @cached_property def django_test_skips(self): skips = super().django_test_skips skips.update( { "SpatiaLite doesn't support distance lookups with Distance objects.": { "gis_tests.geogapp.tests.GeographyTest.test02_distance_lookup", }, } ) return skips
.
Edit
..
Edit
__init__.py
Edit
__pycache__
Edit
adapter.py
Edit
base.py
Edit
client.py
Edit
features.py
Edit
introspection.py
Edit
models.py
Edit
operations.py
Edit
schema.py
Edit