From 2dc3280254ae06ca1fe664abf55749fe12a699d4 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 2 May 2017 21:27:11 -0400 Subject: Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. --- docs/ref/contrib/gis/install/geolibs.txt | 13 ++----------- docs/releases/1.11.1.txt | 3 +++ 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt index 44132384e8..8d6281539b 100644 --- a/docs/ref/contrib/gis/install/geolibs.txt +++ b/docs/ref/contrib/gis/install/geolibs.txt @@ -225,17 +225,8 @@ Troubleshooting Can't find GDAL library ^^^^^^^^^^^^^^^^^^^^^^^ -When GeoDjango can't find the GDAL library, the ``HAS_GDAL`` flag -will be false: - -.. code-block:: pycon - - >>> from django.contrib.gis import gdal - >>> gdal.HAS_GDAL - False - -The solution is to properly configure your :ref:`libsettings` *or* set -:ref:`gdallibrarypath` in your settings. +When GeoDjango can't find the GDAL library, configure your :ref:`libsettings` +*or* set :ref:`gdallibrarypath` in your settings. .. _gdallibrarypath: diff --git a/docs/releases/1.11.1.txt b/docs/releases/1.11.1.txt index ba23d3e17e..e76ed491e9 100644 --- a/docs/releases/1.11.1.txt +++ b/docs/releases/1.11.1.txt @@ -94,3 +94,6 @@ Bugfixes * Fixed ``QuerySet.prefetch_related()`` crash when fetching relations in nested ``Prefetch`` objects (:ticket:`27554`). + +* Prevented hiding GDAL errors if it's not installed when using ``contrib.gis`` + (:ticket:`28160`). (It's a required dependency as of Django 1.11.) -- cgit v1.3