Commit Graph

24 Commits

Author SHA1 Message Date
Tim Graham d92f899cb5 [1.8.x] Fixed GeoIP test failure with the latest data. 2018-01-08 10:00:21 -05:00
Mariusz Felisiak 31ddf51b52 [1.8.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.

Thanks Michał Wierzbowski for help preparing the patch.

Backport of 037d6540ec from master
2017-05-30 10:18:20 -04:00
Tim Graham 299529dca6 [1.8.x] Fixed GeoIP test failure with the latest data.
Backport of da2e92d25e from stable/1.11.x
2017-02-14 09:48:26 -05:00
Tim Graham 1c4334f793 [1.8.x] Fixed nonexistent tmc.edu domain in GeoIP test.
Backport of e1f6eba033 from master
2016-10-11 19:44:09 -04:00
Tim Graham fdd1d247c4 [1.8.x] Fixed a GeoIP test failure with the latest data.
Backport of 4a696bbe13 from master
2016-08-03 11:19:21 -04:00
Tim Graham 9f8ef7724d [1.8.x] Fixed a GeoIP test failure with the latest data.
Backport of 081fdaf110 from master
2016-07-19 09:28:53 -04:00
Tim Graham 72da26af41 [1.8.x] Updated GeoIP test for latest database.
Backport of a0a1c4fbde from master
2016-05-23 20:49:33 -04:00
Tim Graham 100f28ed28 [1.8.x] Sorted single letter imports per the latest version of isort.
Backport of 1c8c0837c6 from master
2016-03-28 11:59:36 -04:00
Tim Graham 229666289d [1.8.x] Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
Backport of 19d1cb1451 from master
2016-01-28 18:02:36 -05:00
Tim Graham 99cd139a30 [1.8.x] Fixed #26147 -- Relaxed expected values in GIS tests to account for database/library differences.
Backport of 5aa5328675 from master
2016-01-28 17:45:34 -05:00
Claude Paroz 244b7c930f [1.8.x] Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
Backport of c08f85fd54 from master.
2015-10-22 20:35:54 +02:00
Claude Paroz 22e9c87bb8 [1.8.x] Updated GeoIP test for newer versions
Backport of 3f9dca62cb from master
2015-07-30 18:16:45 -04:00
Tim Graham 77566dcc6e [1.8.x] Fixed #25183 -- Fixed non-deterministic GeoIP test.
google.com doesn't always resolve to an IP inside the United States.

Backport of 5b6ca15073 from master
2015-07-30 18:12:37 -04:00
Tim Graham ae1d663b79 [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
Tim Graham 30e5703844 [1.8.x] Fixed #24802 -- Delayed GDAL check for OSMGeoAdmin
Backport of a37dcfd0a3 from master
2015-05-15 09:20:04 -04:00
Alasdair Nicol c37eb3c870 [1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests.
Backport of eaeea6f947 from master
2015-04-28 09:31:35 -04:00
Alasdair Nicol 5105c1628d [1.8.x] Used assertIsInstance in tests.
Backport of d91321e8be from master
2015-04-27 08:42:52 -04:00
Tim Graham d0b18542f7 [1.8.x] Fixed gis_tests when run without GIS dependencies.
Backport of ed336a1a5d from master
2015-04-16 20:01:30 -04:00
Anssi Kääriäinen 70ff455a35 [1.8.x] Fixed #24615 -- ordering by expression not part of SELECT
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.
Backport of fb5c7748da from master.
2015-04-16 09:42:42 +02:00
Tim Graham c0102dc7ff [1.8.x] Fixed skipping of gis_tests when dependencies not installed.
Backport of ba1665ed75 from master
2015-03-28 09:39:49 -04:00
Moritz Sichert 44a05a8a91 [1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
Backport of 1f2abf784a from master
2015-03-27 20:01:41 -04:00
Aymeric Augustin e3953de900 [1.8.x] Normalized usage of the tempfile module.
Specifically stopped using the dir argument.

Backport of a8fe12417f from master
2015-02-23 15:26:35 -05:00
Loic Bistuer 3a6c37fce4 [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.

This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.

Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

Refs 22583.

Conflicts:
	django/db/utils.py

Backport of bed504d70b from master
2015-02-20 21:55:50 +07:00
Tim Graham 69c89aeccf [1.8.x] Moved contrib.gis tests out of contrib.
Backport of ad0be620ae from master
2015-02-11 12:05:29 -05:00