summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2010-10-24 09:41:08 +0000
committerJustin Bronn <jbronn@gmail.com>2010-10-24 09:41:08 +0000
commit2d4ddc0416993725098a5f3016213e63fc1e4b70 (patch)
tree884fbe2523e0657eb20f326cc1cb5ced5ba544bb
parent4b61183840e43eee612de507e4b12470b61b5383 (diff)
[1.2.X] Fixed #13617 -- `OSMGeoAdmin` now works again when `USE_L10N` (or `LANGUAGE_CODE`) is set. Thanks, Federico Hlawaczek, for workaround and piquadrat for patch.
Backport of r14341 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/gis/admin/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/admin/options.py b/django/contrib/gis/admin/options.py
index a1da28108d..1814933f7b 100644
--- a/django/contrib/gis/admin/options.py
+++ b/django/contrib/gis/admin/options.py
@@ -119,6 +119,6 @@ if gdal.HAS_GDAL:
num_zoom = 20
map_srid = 900913
max_extent = '-20037508,-20037508,20037508,20037508'
- max_resolution = 156543.0339
+ max_resolution = '156543.0339'
point_zoom = num_zoom - 6
units = 'm'