mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user