Claude Paroz
bc46e4d4fa
Fixed two more tuple/int comparisons in gis tests
...
Refs 63ff417746
.
2014-10-11 17:14:29 +02:00
Claude Paroz
3339605821
Added a dumpdata/loaddata test for geographic content
2014-10-01 21:31:35 +02:00
Tim Graham
df578bf175
Added ordering to fix non-deterministic relatedapp test.
2014-09-29 08:53:44 -04:00
Thomas Chaumeny
b2aad7b836
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
...
Thanks Collin Anderson for the review.
2014-09-29 00:01:38 +07:00
Tim Graham
a8f07530a7
Fixed #23537 -- Added Oracle GIS SchemaEditor.
...
Thanks Shai Berger for review.
2014-09-25 20:16:54 -04:00
Tim Graham
74e7f91e6d
Fixed #23538 -- Added SchemaEditor for MySQL GIS.
...
Thanks Claude Paroz for suggestions and review.
2014-09-25 13:53:44 -04:00
Thomas Chaumeny
9f576dd54f
Added tolerance in equality testing to avoid random build failure
2014-09-25 07:19:23 -04:00
Thomas Chaumeny
ac2e7f08d8
Fixed use of assert* functions in some gis tests
2014-09-25 07:19:23 -04:00
Tim Graham
a1709220d5
Added an Oracle workaround for a geogapp test; refs #23504 .
2014-09-23 20:47:08 -04:00
Tim Graham
729cd6a11a
Skipped a broken geoapp test on Oracle; refs #23504 .
2014-09-23 19:51:14 -04:00
Claude Paroz
2a1bdf5ced
Called table_names instead of get_table_list in migrations
2014-09-23 20:13:31 +02:00
Tim Graham
828edc5ba9
Skipped a broken GIS test on Oracle; refs #23504 .
2014-09-19 15:03:55 -04:00
Tim Graham
7add30df01
Made a GIS test work on Oracle.
...
Thanks Josh Smeaton and Claude Paroz for advice.
2014-09-19 14:38:58 -04:00
Claude Paroz
4dcfacb5b9
Fixed string length check in LayerMapping
2014-09-18 18:56:31 +02:00
Tim Graham
7fc13178d6
Removed unnecessary order_by() from a GIS test that crashed Oracle.
...
Oracle cannot order_by() a TextField; refs #23504 .
2014-09-18 12:42:55 -04:00
Tim Graham
8facb02faf
Improved GIS migration test cleanup; refs #23504 .
2014-09-18 09:00:55 -04:00
Tim Graham
33e817a6d8
Added feature flag for geometry_field_introspection; refs #22632 and #23504 .
2014-09-18 07:32:51 -04:00
Tim Graham
6c1a0581ab
Added a feature flag for add_srs_entry support; refs #22632 and #23504 .
2014-09-18 07:28:05 -04:00
Tim Graham
d8ee13789b
Avoided a crash on an Oracle GIS test; refs #23504 .
2014-09-17 17:35:11 -04:00
Tim Graham
7fce7f51ef
Skipped some broken tests on Oracle GIS; refs #23504 .
2014-09-17 15:33:50 -04:00
Flavio Curella
ce078ef976
Fixed #19139 -- Made OpenLayersWidget follow GeoModelAdmin's modifiable attribute
...
Thanks Tim Graham for the review.
2014-09-12 08:48:38 +02:00
Tim Graham
9a5fe5b29f
Added ordering to prevent non-deterministic test failure; refs #23099 .
2014-09-10 13:30:04 -04:00
Tim Graham
1101467ce0
Limited lines to 119 characters in django/
...
refs #23395 .
2014-09-05 09:22:16 -04:00
Marc Tamlyn
e9103402c0
Fixed #18757 , #14462 , #21565 -- Reworked database-python type conversions
...
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-09-03 20:36:03 +01:00
Tim Graham
135a58f9dc
Fixed a non-deterministic test; refs #23099 .
2014-08-29 20:40:53 -04:00
Simon Charette
19e6397f82
Removed an unused import.
2014-08-27 17:32:01 -04:00
Claude Paroz
60428ed5db
Removed some more hardcoded backends in GIS tests
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-26 20:08:00 +02:00
Claude Paroz
ba1d707b0f
Replaced no_mysql by connection features
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-23 15:44:34 +02:00
Claude Paroz
a7d964ab87
Replaced no_spatialite by connection features
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-23 15:41:13 +02:00
Claude Paroz
46c7707e50
Replaced HAS_SPATIALREFSYS by a database feature
2014-08-23 15:41:13 +02:00
Tim Graham
ad9ba9d27b
Removed unused imports.
2014-08-19 12:40:49 -04:00
Claude Paroz
6295ea0027
Replaced HAS_SPATIAL_DB by testing database feature
...
Refs #22632 . This should be the base for using more database
features to exclude specific backends in GIS tests.
Thanks Tim Graham for the review.
2014-08-19 17:57:01 +02:00
Claude Paroz
dfde0b3b06
Stopped skipping GIS forms tests on MySQL
2014-08-16 13:32:33 +02:00
Gabriel Muñumel
deed00c0d8
Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().
2014-08-15 08:14:45 -04:00
Tim Graham
09c0fa2c53
Fixed a non-deterministic test; refs #23099 .
2014-08-08 15:42:48 -04:00
Tim Graham
f53b1c779b
Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.
...
Thanks Claude Paroz for assistance with debugging the tests.
2014-08-08 14:01:59 -04:00
Tim Graham
a9bdce7e55
Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.
...
Thanks Claude Paroz for the review.
2014-08-01 10:26:00 -04:00
Claude Paroz
8c30df15f1
Fixed #23030 -- Properly handled geometry columns metadata during migrations
...
Thanks kunitoki for the report and initial patches.
2014-07-23 12:10:23 +02:00
Claude Paroz
bc19ff6479
Fixed #22793 -- Updated import location for GeometryColumns in tests
...
The old location was removed in cebd8753c6
.
Thanks Aymeric Augustin for the report.
2014-06-21 14:10:07 +02:00
Aymeric Augustin
6e5651e514
Gave unique names to SpatialRefSysModels.
...
Prevented clashes in the app registry.
Fixed #22790 . Thanks timo for the report.
2014-06-08 21:15:47 +02:00
Tim Graham
250e2b422b
Silenced some GIS deprecation warnings; refs #22384 .
2014-06-07 19:35:57 -04:00
Baptiste Mispelon
a0d5970d44
Fixed contrib.gis tests breaking in some edge cases.
...
The tests would error out with an ImproperlyConfigured error
if the user had psycopg installed but not geos.
Thanks to mcgohier for the report.
2014-05-17 15:01:06 +02:00
Claude Paroz
e520a73eee
Harmonized some PEP 0263 coding preambles
2014-05-15 19:58:41 +02:00
Claude Paroz
48c4ea4146
Used migration framework in GIS test tearDown
2014-04-23 13:45:41 +02:00
Claude Paroz
ab90c4707b
Fixed table cleanup in GIS migration tests
2014-04-21 23:08:00 +02:00
Claude Paroz
2f9d1576e8
Fixed removal of GIS column in PostGIS 1.x migration
...
Refs #22481 .
2014-04-21 21:17:14 +02:00
Claude Paroz
fb09a489ca
Fixed adding new GIS column in PostGIS 1.x migration
...
Refs #22451 .
2014-04-21 20:58:09 +02:00
Claude Paroz
c082f3c74c
Fixed #22456 -- Replaced 900913 EPSG code by 3857 in some tests
...
3857 is now the official EPSG code for the Google spherical mercator
projection and some recent versions of GDAL do not recognize 900913
any longer.
Thanks Tim Graham for the report and initial patch.
2014-04-17 21:18:07 +02:00
Aymeric Augustin
2791fbf59d
Used more specific test assertions.
2014-04-09 22:20:22 +02:00
Anubhav Joshi
cd914e31c9
Fixed #21977 -- Deprecated SimpleTestCase.urls
2014-04-06 17:33:43 -04:00