diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-10-06 22:56:47 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-10-08 18:24:42 +0200 |
| commit | 9a2bceed1aab52f65820c378f5ae1f608322b55c (patch) | |
| tree | 500b2a1f49166e6d29a92e7c191c4c1f14ba01b8 /docs/ref/forms | |
| parent | a62d53c03252bdf82b21b64874efe053160cbdb7 (diff) | |
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.
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
