summaryrefslogtreecommitdiff
path: root/tests/gis_tests/gis_migrations
AgeCommit message (Collapse)Author
2025-06-10Fixed #36448 -- Fixed GeoDjango spelling in test_commands.py docstrings.nakano
2024-09-19Fixed #35074 -- Fixed adding/removing indexes when spatial_index is changed ↵Mariusz Felisiak
on MySQL, PostgreSQL, and Oracle. Co-authored-by: Mário Falcão <mario@falcao.dev>
2024-06-20Refs #35074 -- Avoided failed attempts to remove spatial indexes on nullable ↵Mariusz Felisiak
fields on MySQL. MySQL doesn't support spatial indexes on NULL columns, so there is no point in removing them.
2024-06-18Simplified OperationTestCase.alter_gis_model() test hook a bit.Mariusz Felisiak
This avoids passing "blank=False" and "srid=4326" to field classes, which are the default values, and removes special treatment for the "blank" parameter.
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.
2023-09-20Fixed #34851 -- Dropped support for PostgreSQL 12 and PostGIS 2.5.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-11-30Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz
MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-14Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman2
indexes on PostGIS.
2021-05-13Refs #16455 -- Added test for using opclasses on indexes for ↵Mariusz Felisiak
multidimensional geometry fields on PostGIS.
2021-01-13Removed redundant database vendor helpers in gis_tests/utils.py.Tim Graham
2020-10-19Added DatabaseFeatures.can_alter_geometry_field.Tim Graham
2020-04-14Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.Claude Paroz
2020-03-10Fixed #26513 -- Added tests for <Backend>GeometryColumns.geom_col_name().Hasan Ramezani
2018-11-21Fixed #29949 -- Refactored db introspection identifier converters.Mariusz Felisiak
Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review.
2017-05-04Made runtests.py run gis_tests only when using a GIS database backend.Tim Graham
This facilitates other changes like refs #28160.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-15Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.Adam Chainz
Missed in f7a363ee1d2039824d95f35e54219e09c5af67b0.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-22Fixed #27056 -- Allowed migrating geometry field dimension on PostGISClaude Paroz
Thanks Tim Graham for the review.
2016-09-22Refs #27056 -- Rearranged gis_migrations test case classesClaude Paroz
2016-09-12Refs #27098 -- Added introspection for expression-based index on PostgreSQLClaude Paroz
Also test it on PostGIS raster fields.
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-06-18Fixed #26753 -- Made GDAL a required dependency for contrib.gisClaude Paroz
Thanks Tim Graham for the review.
2016-05-27Refs #25588 -- Fixed GDAL dependency in spatial lookups.Daniel Wiesmann
2016-05-06Fixed #25588 -- Added spatial lookups to RasterField.Daniel Wiesmann
Thanks Tim Graham for the review.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-05Fixed #26176 -- Fixed E123 flake8 warnings.Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-19Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-04-18Stopped conditional discovery of gis_tests appsClaude Paroz
Refs #23879.
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham