summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34344 -- Allowed PostGIS DatabaseWrapper subclasses to customize ↵David Buhler2023-02-211-4/+18
| | | | (features/introspection/ops)_class classes.
* Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls2023-02-071-7/+9
|
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Fixed #34266 -- Added ClosestPoint GIS database functions.Niccolò Mineo2023-01-203-0/+3
|
* Refs #31014 -- Added FromWKB and FromWKT GIS database functions.Mariusz Felisiak2023-01-105-0/+13
| | | | | Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on ↵Claude Paroz2023-01-034-1/+4
| | | | PostGIS.
* Fixed #34219 -- Preserved Char/TextField.db_collation when altering column type.Mariusz Felisiak2022-12-221-2/+7
| | | | | | | This moves setting a database collation to the column type alteration as both must be set at the same time. This should also avoid another layer of the column type alteration when adding database comments support (#18468).
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-154-9/+131
| | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33308 -- Added psycopg_any.sql.quote() hook.Florian Apolloner2022-12-121-9/+2
|
* Refs #33308 -- Made PostGISAdapter do not use psycopg2's Binary().Florian Apolloner2022-12-022-13/+10
|
* Fixed #28975 -- Made PostGIS backend skip extension creation if installed.Rust Saiargaliev2022-08-101-0/+3
|
* Fixed #33718 -- Dropped support for MySQL 5.7.Mariusz Felisiak2022-07-084-35/+5
|
* Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.Claude Paroz2022-06-211-1/+1
| | | | Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
* Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak2022-05-041-3/+1
|
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-077-11/+25
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-0733-538/+755
|
* Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz2021-11-304-4/+25
| | | | | | | | | MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33129 -- Added missing return statement.Carlton Gibson2021-09-231-1/+1
| | | | | | Thanks to Claude Paroz for spotting it. Regression in 221b2f85febcf68629fc3a4007dc7edb5a305b91.
* Fixed #33129 -- Dropped support for MariaDB 10.2.Mariusz Felisiak2021-09-223-8/+6
|
* Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman22021-05-141-4/+3
| | | | indexes on PostGIS.
* Refs #32721 -- Made PostGISSchemaEditor._create_index_sql() call ↵snowman22021-05-131-17/+16
| | | | super()._create_index_sql().
* Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz2021-04-083-3/+20
|
* Refs #27488 -- Corrected detection of IsValid() support on SpatiaLite.Mariusz Felisiak2021-04-081-1/+1
| | | LWGEOM is not required for IsValid().
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-1/+1
|
* Removed redundant database vendor helpers in gis_tests/utils.py.Tim Graham2021-01-132-2/+9
|
* Added SpatialFeatures.empty_intersection_returns_none.Tim Graham2021-01-133-2/+10
|
* Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup.Tim Graham2021-01-022-4/+0
|
* Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵Hannes Ljungberg2020-12-231-3/+3
| | | | argument optional and kwarg-only.
* Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵Hasan Ramezani2020-12-102-0/+24
| | | | | failures. Co-authored-by: Tim Graham <timograham@gmail.com>
* Added SpatialFeatures.supports_tolerance_parameter.Tim Graham2020-11-302-0/+4
|
* Added SpatialFeatures.unsupported_geojson_options.Tim Graham2020-11-113-0/+5
|
* Renamed BaseSpatialOperations.geography to ↵Tim Graham2020-11-094-4/+3
| | | | BaseSpatialFeatures.supports_geography.
* Removed BaseSpatialOperations.geometry.Tim Graham2020-11-091-2/+1
| | | | Unused since 26996e2d55719deb0a0b85c642c88658c929106c.
* Made OracleSpatialAdapter clone geometries rather than mutate them.Tim Graham2020-10-273-7/+33
|
* Added DatabaseFeatures.can_alter_geometry_field.Tim Graham2020-10-192-0/+4
|
* Bumped minimum isort version to 5.1.0.David Smith2020-07-303-4/+15
| | | | | Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
* Fixed #31751 -- Fixed database introspection with cx_Oracle 8.Mariusz Felisiak2020-06-301-2/+7
|
* Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.David Smith2020-06-171-1/+1
|
* Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg2020-06-041-0/+1
|
* Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak2020-05-141-1/+1
|
* Renamed PROJ.4 to PROJ.Claude Paroz2020-05-132-5/+5
|
* Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne2020-05-112-2/+2
| | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster.
* Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson2020-05-041-3/+3
| | | | comments.
* Changed django.forms.ValidationError imports to ↵François Freitag2020-04-281-1/+1
| | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #30489 -- Fixed RasterField deserialization with pixeltype flags.Hasan Ramezani2020-03-052-11/+13
| | | | Thanks Ivor Bosloper for the original patch.
* Refs #30489 -- Made from_pgraster()/to_pgraster() use ↵Ivor Bosloper2020-03-042-10/+14
| | | | BANDTYPE_FLAG_HASNODATA and bitwise operators for nodata flag.
* Fixed #30846 -- Made PostGIS backend respect Index's name argument.=Pratik Kumar2020-02-101-1/+5
|
* Fixed #31248 -- Added missing space before USING SQL on PostGIS.Hannes Ljungberg2020-02-101-1/+1
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-049-23/+23
|
* Fixed #31002 -- Fixed GIS lookups crash against a subquery annotation.Simon Charette2019-11-251-2/+2
| | | | Thanks Vasileios Bouzas for the report.