summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/postgis/adapter.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-151-2/+2
| | | | | | | 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-021-11/+9
|
* Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.Claude Paroz2022-06-211-1/+1
| | | | Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-4/+6
|
* Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz2021-11-301-4/+4
| | | | | | | | | 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>
* Made OracleSpatialAdapter clone geometries rather than mutate them.Tim Graham2020-10-271-0/+4
|
* Simplified various __eq__() methods.Mads Jensen2017-09-281-3/+1
|
* Removed django.contrib.gis.geometry.backend.Tim Graham2017-09-121-2/+2
| | | | | The layer of indirection is unchanged and undocumented since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
* Removed SRID use in PostGISAdapter.__eq__() and __hash__().Sergey Fedoseev2017-07-191-2/+2
| | | EWKB already contains the SRID.
* Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan2017-02-041-1/+1
|
* Refs #23919 -- Removed unneeded str() callsClaude Paroz2017-01-201-2/+2
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #27014 -- Fixed annotations with database functions on PostGIS.Daniel Wiesmann2016-08-151-1/+1
| | | | Thanks Sean Mc Allister for providing a test.
* Fixed #25588 -- Added spatial lookups to RasterField.Daniel Wiesmann2016-05-061-13/+31
| | | | Thanks Tim Graham for the review.
* Fixed #24214 -- Added GIS functions to replace geoqueryset's methodsClaude Paroz2015-04-221-2/+6
| | | | Thanks Simon Charette and Tim Graham for the reviews.
* Fixed #24615 -- ordering by expression not part of SELECTAnssi Kääriäinen2015-04-161-0/+3
| | | | | | | | Fixed queries where an expression was used in order_by() but the expression wasn't in the query's select clause (for example the expression could be masked by .values() call) Thanks to Trac alias MattBlack85 for the report.
* Removed unused methods in GIS adapter.Tim Graham2015-04-091-3/+0
|
* Continue to attack E302 violationsAlex Gaynor2013-11-021-0/+1
|
* [py3] Updated PostGIS adapterClaude Paroz2012-09-231-2/+3
|
* Fixed #16778 -- Improved escaping of geometries on PostgreSQL, allowing ↵Justin Bronn2011-09-131-2/+10
| | | | | | GeoDjango to work on 9.1. Thanks, piro for ticket and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13670 -- Comparisons with the spatial adapter won't blow up in some ↵Justin Bronn2011-09-101-0/+2
| | | | | | corner cases. Thanks, milosu for the bug report and jpaulett for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-0/+35
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37