Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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 authored October 24, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/gis/admin/options.py
2  django/contrib/gis/admin/options.py
@@ -119,6 +119,6 @@ class OSMGeoAdmin(GeoModelAdmin):
119 119
         num_zoom = 20
120 120
         map_srid = 900913
121 121
         max_extent = '-20037508,-20037508,20037508,20037508'
122  
-        max_resolution = 156543.0339
  122
+        max_resolution = '156543.0339'
123 123
         point_zoom = num_zoom - 6
124 124
         units = 'm'

0 notes on commit 2d4ddc0

Please sign in to comment.
Something went wrong with that request. Please try again.