django/contrib/gis/db/backends/postgis/features.py
raw| 1 | from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures |
| 2 | from django.db.backends.postgresql.features import ( |
| 3 | DatabaseFeatures as PsycopgDatabaseFeatures, |
| 4 | ) |
| 5 | |
| 6 | |
| 7 | class DatabaseFeatures(BaseSpatialFeatures, PsycopgDatabaseFeatures): |
| 8 | supports_geography = True |
| 9 | supports_3d_storage = True |
| 10 | supports_3d_functions = True |
| 11 | supports_raster = True |
| 12 | supports_empty_geometries = True |
| 13 | empty_intersection_returns_none = False |