summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/models/query.py
AgeCommit message (Collapse)Author
2017-01-17Removed GeoManager and GeoQuerySet per deprecation timeline.Tim Graham
2016-12-15Fixed #27497 -- Improved support of geodetic coordinates on SpatiaLite.Sergey Fedoseev
Area function, Distance function, and distance lookups now work with geodetic coordinates on SpatiaLite.
2016-05-02Refs 2bd1bbc -- Made GeometryField.get_db_prep_lookup() a private ↵Tim Graham
(deprecated) method.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-10-31Fixed #25636 -- Dropped support for SpatiaLite < 3.0Sergey Fedoseev
2015-10-10Fixed #24687 -- Added select_related() validation for nested non-relational ↵Tim Graham
fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review.
2015-09-23Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.Tim Graham
Per deprecation timeline.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-04-22Deprecated legacy GeoManager/GeoQuerySet methodsClaude Paroz
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-16Fixed #24152 -- Deprecated GeoQuerySet aggregate methodsClaude Paroz
Thanks Josh Smeaton and Tim Graham for the reviews.
2015-01-08Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen
Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-11-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-09-22Fixed Oracle GIS gml() test failure introduced by e910340; refs #18757.Marc Tamlyn
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
2014-08-26Removed some more hardcoded backends in GIS testsClaude Paroz
Refs #22632. Thanks Tim Graham for the review.
2014-08-01Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.Tim Graham
Thanks Claude Paroz for the review.
2014-05-28Fixed #22714 -- Made contrib.gis use six-provided memoryview typeClaude Paroz
Thanks Tim Graham for the report.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-03-30Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-01-22Fixed #21850 -- Made GeometryField.geodetic case insensitiveOliver George
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Continue to attack E302 violationsAlex Gaynor
2013-10-26Fixed all the E203 violationsAlex Gaynor
2013-10-24Start attacking E231 violationsAlex Gaynor
2013-10-22Fixed E221 pep8 warnings.Tim Graham
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
2013-09-30Added hints argument to GeoQuerySet; refs #13724.Tim Graham
2013-07-22Merge pull request #1390 from garnertb/masterMarc Tamlyn
Fixed small grammatical error in docstring.
2013-07-22Fixed small grammatical error in docstring.Tyler Garner
2012-11-02Fixed a regression in gis introduced by Query.select_fields removalAnssi Kääriäinen
2012-10-12Fixed #19028 -- Support GeoJSON output with SpatiaLite 3.0+Brian Galey
2012-10-03Fixed #19063 -- Fixed version parameter of gml GeoQuerySet methodClaude Paroz
Thanks lmisek@go2.pl for the report.
2012-09-23[py3] Added buffer/memoryview compatibilityClaude Paroz
Even if buffer and memoryview are not strictly identical, it should be safe to consider them equivalent for GIS support. Thanks Aymeric Augustin for the review.
2012-08-23[py3] Removed duplicate imports.Aymeric Augustin
Fixed #18837. Refs #18791.
2012-08-08remove a bunch of unnescesarry iterkeys() callsAlex Gaynor
2012-08-07[py3] Fixed access to dict keys/values/items.Aymeric Augustin
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-07-22[py3] Removed longs.Aymeric Augustin
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Enabled area calculations for geography columns.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29Renamed `reverse` to `reverse_geom` because of clash with existing ↵Justin Bronn
`QuerySet` method; added `GeoQuerySet.geohash` support for producing GeoHash reprsentations. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29Added `reverse` and `force_rhr` methods to `GeoQuerySet`. Refs #12416.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27`GeoQuerySet.distance` now allows calculations to/from non-point geodetic ↵Justin Bronn
geometry fields as allowed on PostGIS 1.5. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12312 bcc190cf-cafb-0310-a4f2-bffc1f526a37