django1/django/contrib/gis/utils
Claude Paroz 9a2bceed1a Use smarter string decoding in GeoDjango
The first try to solve the Python 3 GIS encoding/decoding issue
was too naive. Using decode() on all read strings is bound to fail
as soon as a non-ascii string is concerned.
This patch is a little more clever, leaving ascii decoding when
plain ascii strings are expected, and allowing to specify a custom
encoding in DataSource hierarchy.
2012-10-08 18:24:42 +02:00
..
__init__.py Fixed #16553 -- Refactored the `GeoIP` module, moving it `django.contrib.gis.geoip`; fixed memory leaks, and encoding issues. 2011-09-10 18:04:27 +00:00
geoip.py Fixed #18042 -- Advanced deprecation warnings. 2012-05-03 15:27:01 +02:00
layermapping.py Use smarter string decoding in GeoDjango 2012-10-08 18:24:42 +02:00
ogrinfo.py Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
ogrinspect.py Moved Travis Pinney and Dane Springmeyer into the AUTHORS file where they belong. 2012-10-07 21:05:10 -07:00
srs.py Fixed #16537 -- Fixed multi-db issues with GeoDjango utilities. Thanks, Shane Shifflett for the bug report and aaugustin for the initial patch. 2011-09-10 17:19:05 +00:00
wkt.py [py3] Replaced basestring by six.string_types. 2012-07-22 09:29:54 +02:00