diff options
| author | Tim Graham <timograham@gmail.com> | 2017-05-02 21:27:11 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-04 21:14:23 -0400 |
| commit | 68ebc240a47cb235a186a01f887db318e0a55eba (patch) | |
| tree | d6952ea73f9f2146635b15b66da176b1149e1c4e /docs/ref | |
| parent | 444cdf61314e420c10f713ba7a5fa084b0b2dfd5 (diff) | |
[1.11.x] Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/gis/install/geolibs.txt | 13 |
1 files changed, 2 insertions, 11 deletions
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: |
