summaryrefslogtreecommitdiff
path: root/tests/gis_tests
AgeCommit message (Collapse)Author
2015-04-22Added MySQL support to GIS functionsClaude Paroz
2015-04-22Added Spatialite support to GIS functionsClaude Paroz
2015-04-22Fixed #24214 -- Added GIS functions to replace geoqueryset's methodsClaude Paroz
Thanks Simon Charette and Tim Graham for the reviews.
2015-04-18Stopped conditional discovery of gis_tests appsClaude Paroz
Refs #23879.
2015-04-16Fixed gis_tests when run without GIS dependencies.Tim Graham
2015-04-16Fixed #24615 -- ordering by expression not part of SELECTAnssi Kääriäinen
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.
2015-04-15Updated tests to stop leaking models in shared AdminSite.Riccardo Magliocchetti
This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
2015-03-28Fixed skipping of gis_tests when dependencies not installed.Tim Graham
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-03-23Fixed #12400 -- Allowed geometry fields in unique_togetherClaude Paroz
Thanks Tim Graham for the review.
2015-03-21Revert "Removed unneeded app_label definitions in gis_tests"Claude Paroz
This reverts commit e0cc36f615f70061e034f5ba3f4e75330f51d3ca. The problem is the following: * With non-gis backends, gis_tests sub apps are not discovered (see runtests.py) * Consequently, the app_label is inferred from the gis_tests AppConfig * Then models with same names in different sub apps conflict because of same model_name/app_label pair.
2015-03-21Removed unneeded app_label definitions in gis_testsClaude Paroz
2015-03-20Fixed gis test failures when numpy isn't installed.Daniel Wiesmann
Thanks to Bas Peschier for pointing this out. Refs #23804.
2015-03-18Fixed #23757 -- Added 3D introspection support to Spatialite backendClaude Paroz
Thanks Tim Graham for the review.
2015-03-17Made SRID a required parameter for GDALRaster instantiation; refs #23804.Daniel Wiesmann
Earlier versions of GDAL do not allow the srid to be set to 0, so it should be a required parameter to ensure compatibility.
2015-03-16Added write support for GDALRasterDaniel Wiesmann
- Instantiation of GDALRaster instances from dict or json data. - Retrieve and write pixel values in GDALBand objects. - Support for the GDALFlushCache in gdal C prototypes - Added private flush method to GDALRaster to make sure all data is written to files when file-based rasters are changed. - Replaced ``ptr`` with ``_ptr`` for internal ptr variable Refs #23804. Thanks Claude Paroz and Tim Graham for the reviews.
2015-02-23Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument.
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
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.
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham