summaryrefslogtreecommitdiff
path: root/tests/gis_tests/geoadmin/models.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-20Refs #27674 -- Added tests for GISModelAdmin.gis_widget_kwargs.Alexander Filimonov
2021-09-17Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.Giannis Adamopoulos
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
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-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2016-11-15Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.Adam Chainz
Missed in f7a363ee1d2039824d95f35e54219e09c5af67b0.
2016-06-18Fixed #26753 -- Made GDAL a required dependency for contrib.gisClaude Paroz
Thanks Tim Graham for the review.
2016-03-11Removed unneeded GeoManagers in tests.Tim Graham
2016-03-11Fixed #25865 -- Made OSMGeoAdmin require GDAL only if transformation is needed.Sergey Fedoseev
2015-04-24Delayed GDAL check for OSMGeoAdminClaude Paroz
2015-04-18Stopped conditional discovery of gis_tests appsClaude Paroz
Refs #23879.
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-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-02-11Moved contrib.gis tests out of contrib.Tim Graham