Skip to content
Browse files

[1.0.X] Fixed #9742 -- remove extraneous 'kml' from KML mimetype. Tha…

…nks, robotika for the bug report.

Backport of r9570 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6878236 commit cad3c019cc9a3fa903d709694454a407e65d9a19 @jbronn jbronn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/
2 django/contrib/gis/
@@ -14,7 +14,7 @@ def compress_kml(kml):
def render_to_kml(*args, **kwargs):
"Renders the response as KML (using the correct MIME type)."
return HttpResponse(loader.render_to_string(*args, **kwargs),
- mimetype='application/ kml')
+ mimetype='application/')
def render_to_kmz(*args, **kwargs):

0 comments on commit cad3c01

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