Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit eccc42a8c79c1353e4072207b4a5259afdd50aca 1 parent 5d02b86
@jbronn jbronn authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.