Ticket #9742: kml_mimetype_fix.diff
File kml_mimetype_fix.diff, 598 bytes (added by , 16 years ago) |
---|
-
django/contrib/gis/shortcuts.py
14 14 def render_to_kml(*args, **kwargs): 15 15 "Renders the response as KML (using the correct MIME type)." 16 16 return HttpResponse(loader.render_to_string(*args, **kwargs), 17 mimetype='application/vnd.google-earth.kml+xml kml')17 mimetype='application/vnd.google-earth.kml+xml') 18 18 19 19 def render_to_kmz(*args, **kwargs): 20 20 """