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
Tim Graham
d73d0e071c
Fixed #22218 -- Deprecated django.conf.urls.patterns.
...
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Alex Gaynor
778ce245dd
Corrected many style guide violations that the newest version of flake8 catches
2014-03-30 12:11:05 -07:00
Claude Paroz
e819a3cd62
Skipped PostGIS version tests when psycopg2 not installed
...
Refs #22334 . Thanks Tim Graham for spotting the issue.
2014-03-29 19:25:57 +01:00
Rémy Sanchez
88f1e3d93d
Unit testing Postgis version check
...
Refs #22334 .
2014-03-29 15:37:40 +01:00
Tim Graham
2cc8840397
Removed unused imports.
2014-03-29 08:54:30 -04:00
Claude Paroz
c5d1df70a4
Dropped support for GEOS 3.1
2014-03-29 11:08:52 +01:00
Claude Paroz
e62dea9ad5
Confirmed Spatialite 4 support
2014-03-29 11:08:52 +01:00
Claude Paroz
0f1f12c564
Confirmed GEOS 3.4 support
2014-03-29 11:08:52 +01:00
Anssi Kääriäinen
21f208e66e
Fixed #22250 -- regression in gis compiler for non-concrete fields
...
Thanks to gwahl@fusionbox.com for the report.
2014-03-29 07:58:25 +02:00
Claude Paroz
74b3467646
Removed GeoRSSSitemap
...
Refs #18531 .
2014-03-22 19:58:50 +01:00
Eric Palakovich Carr
c11b9346d4
Fixed migration so MySQL GIS test doesn't fail; refs #22001 .
...
The test previously failed with the error:
(1170, "BLOB/TEXT column 'name' used in key specification without a key length")
2014-03-19 06:49:29 -04:00
Florian Apolloner
8520e43e13
Fixed a regression from 2e5b82f627
2014-03-18 15:30:52 +01:00
Florian Apolloner
2e5b82f627
Made a test app label unique.
2014-03-18 14:51:06 +01:00
Marc Tamlyn
834d78ffc3
Remove u prefixes, skip test unless spatial db.
...
Refs #22001 , d22b291890
2014-03-15 12:49:03 +00:00
Marc Tamlyn
d22b291890
Fixed #22001 -- Ensure db_type is respected.
...
db_parameters should respect an already existing db_type method and
return that as its type string. In particular, this was causing some
fields from gis to not be generated.
Thanks to @bigsassy and @blueyed for their work on the patch.
Also fixed #22260
2014-03-14 22:32:17 +00:00
Rodolfo Carvalho
0d91225892
Fixed many typos in comments and docstrings.
...
Thanks Piotr Kasprzyk for help with the patch.
2014-03-03 07:38:09 -05:00
Rodolfo Carvalho
fd4d8f0f52
Fixed typo in comment.
2014-02-15 15:14:58 +01:00
Baptiste Mispelon
a0fc7fa5df
Fixed ImportError when running contrib.gis tests without libgeos installed.
2014-02-05 21:17:01 +01:00
Claude Paroz
6e0f1bc06d
Moved a GoogleMap test
2014-02-03 16:22:10 +01:00
David Fischer
e7e3435b4d
Fixed #21934 -- Added unicode support in GoogleMap class
2014-02-03 16:18:32 +01:00
Claude Paroz
9ab798a8d8
Fixed #21930 -- Only import add_srs_entry if GDAL is installed
...
Fixed regression introduced by fabc678f93
. Thanks Michael Manfre
for the report.
2014-02-02 20:05:35 +01:00
Claude Paroz
fabc678f93
Added new srs test and various cleaning
2014-01-30 09:48:45 +01:00
Alex Gaynor
791142e8b3
Several small whitespace fixes for styleguide/flake8 violations
2014-01-01 09:37:52 -08:00
Claude Paroz
fbbe7ca30c
Readded field unadvertantly removed in fedfd5030
2014-01-01 12:07:43 +01:00
Aymeric Augustin
6edd5b0793
Fixed a few issues in previous commit.
2014-01-01 11:52:56 +01:00
Aymeric Augustin
fecfd50300
Properly assigned app_label to GIS test models.
...
Used abstract inheritance to cut down on code repetition.
2014-01-01 11:01:46 +01:00
Claude Paroz
d0eeddd6fc
Fixed #21716 -- Only passed arguments supported by ogrinspect
...
Thanks Marco Badan for the report.
2013-12-31 16:26:44 +01:00
Aymeric Augustin
e32095616c
Imported override_settings from its new location.
2013-12-23 21:37:56 +01:00
Aymeric Augustin
da16bb30ff
Dropped AppCache._empty, _with_app and _without_app.
...
It's now easier to achieve the same effect with modify_settings or
override_settings.
2013-12-23 21:37:56 +01:00
Aymeric Augustin
2fef9e5375
Moved apps back in the toplevel django namespace.
...
Reverted 4a56a93cc4
.
2013-12-22 11:39:55 +01:00
Aymeric Augustin
9b3389b726
Removed the app_config.installed flag.
...
Since applications that aren't installed no longer have an application
configuration, it is now always True in practice.
Provided an abstraction to temporarily add or remove applications as
several tests messed with app_config.installed to achieve this effect.
For now this API is _-prefixed because it looks dangerous.
2013-12-22 11:39:17 +01:00
Aymeric Augustin
7eea9bf303
Normalized Model._meta.installed.
...
Used the information from the app cache instead of creating a duplicate
based on INSTALLED_APPS.
Model._meta.installed is no longer writable. It was a rather sketchy way
to alter private internals anyway.
2013-12-17 21:55:16 +01:00
Claude Paroz
164a3a388c
Revert "Allowed running GIS form tests that don't require spatial database"
...
This reverts commit 07fe0bf3f4
.
This was not working properly on system without geos library
installed.
2013-12-14 21:03:09 +01:00
Loic Bistuer
6685713869
Fixed E127 pep8 warnings.
2013-12-14 11:59:15 -05:00
Jakub Gocławski
07fe0bf3f4
Allowed running GIS form tests that don't require spatial database
2013-12-14 13:57:58 +01:00
Jakub Gocławski
2ddf1fc50f
Fixed #21606 -- Fixed default_lat and default_lon override in OSMWidget
2013-12-14 13:53:37 +01:00