#28178: Allow applications that make optional use of contrib.gis to better
silence
the lack of a GDAL install
--------------------------------------+------------------------------------
Reporter: Bas ten Berge | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: 1.11
Severity: Release blocker | Resolution:
Keywords: update 1.11.1 | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Bas ten Berge):
Thanks for working on the issue and your time looking into the issue, as
opposed to myself :flushed:
The name `ImproperlyConfigured` suggests the option is available as a
configuration option. In my understanding, it's not possible to disable
(or enable) gis via `settings`, as an individual setting. Right?
For anyone else looking into this issue: I changed the `except` statement
on line 25 of `tastypie/resources.py` to get the project running on the
Django 1.11.1:
{{{
except (ImproperlyConfigured, ImportError, Exception, ): # Exception is a
workaround for GDALException
}}}
Could've just used `Exception` there...
--
Ticket URL: <https://code.djangoproject.com/ticket/28178#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.dea30ccd8620d7e67babfbc10af78b44%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.