Fixed #13617 -- `OSMGeoAdmin` now works again when `USE_L10N` (or `LANGUAGE_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
This commit is contained in:
parent
5d02b86afb
commit
eccc42a8c7
|
@ -119,6 +119,6 @@ if gdal.HAS_GDAL:
|
||||||
num_zoom = 20
|
num_zoom = 20
|
||||||
map_srid = 900913
|
map_srid = 900913
|
||||||
max_extent = '-20037508,-20037508,20037508,20037508'
|
max_extent = '-20037508,-20037508,20037508,20037508'
|
||||||
max_resolution = 156543.0339
|
max_resolution = '156543.0339'
|
||||||
point_zoom = num_zoom - 6
|
point_zoom = num_zoom - 6
|
||||||
units = 'm'
|
units = 'm'
|
||||||
|
|
Loading…
Reference in New Issue