#13617: USE_L10N results in faulty javascript code in GeoDjango with some locales --------------------------------+------------------------------------------- Reporter: piquadrat | Owner: jbronn Status: assigned | Milestone: 1.3 Component: GIS | Version: 1.2 Resolution: | Keywords: L10N gis gmaps Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------+------------------------------------------- Comment (by sayane):
Just: {{{ {{ js_module }}.{{ dom_id }}.setCenter(new GLatLng({{ center.1|stringformat:"s" }}, {{ center.0|stringformat:"s" }}), {{ zoom }}); }}} There is simple workaround. Copy template to yourtemplates/gis/google /google-map.js, change that line like I did, and wait for official fix. -- Ticket URL: <http://code.djangoproject.com/ticket/13617#comment:8> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.