﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20773	contrib/gis/maps/google/gmap : script() string formating	martync	nobody	"The property named ""script"" in contrib.gis.maps.google.gmap.GoogleMap has a wrong string formating. 
https://github.com/django/django/blob/1.5c2/django/contrib/gis/maps/google/gmap.py#L134-L137


{{{
        return format_html('%s\n  <script type=""text/javascript"">\n//<![CDATA[\n%s//]]>\n  </script>', self.api_script, mark_safe(self.js))

}}}

while it should be :

{{{
        return format_html('{0}\n  <script type=""text/javascript"">\n//<![CDATA[\n{1}//]]>\n  </script>', self.api_script, mark_safe(self.js))

}}}

I have created a pull request for this bug : https://github.com/django/django/pull/1379
I will write a testcase. "	Bug	closed	GIS	1.5	Normal	fixed			Ready for checkin	0	0	0	0	0	0
