Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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
  • Loading branch information...
commit 2d4ddc0416993725098a5f3016213e63fc1e4b70 1 parent 4b61183
Justin Bronn jbronn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/gis/admin/options.py
2  django/contrib/gis/admin/options.py
View
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.