Browse files

Fixed #13617 -- `OSMGeoAdmin` now works again when `USE_L10N` (or `LA…

…NGUAGE_CODE`) is set. Thanks, Federico Hlawaczek, for workaround and piquadrat for patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5d02b86 commit eccc42a8c79c1353e4072207b4a5259afdd50aca @jbronn jbronn committed Oct 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/admin/options.py
View
2 django/contrib/gis/admin/options.py
@@ -119,6 +119,6 @@ class OSMGeoAdmin(GeoModelAdmin):
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'

0 comments on commit eccc42a

Please sign in to comment.