Permalink
Browse files

Fixed #9742 -- remove extraneous 'kml' from KML mimetype. Thanks, rob…

…otika for the bug report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent bfab9d6 commit 8370e7ca876f305c88863aa84f624b01d6add04e @jbronn jbronn committed Dec 6, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/shortcuts.py
@@ -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/vnd.google-earth.kml+xml kml')
+ mimetype='application/vnd.google-earth.kml+xml')
def render_to_kmz(*args, **kwargs):
"""

0 comments on commit 8370e7c

Please sign in to comment.