From 68ebc240a47cb235a186a01f887db318e0a55eba Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 2 May 2017 21:27:11 -0400 Subject: [1.11.x] Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master --- docs/ref/contrib/gis/install/geolibs.txt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'docs/ref') 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: -- cgit v1.3