Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 8370e7ca876f305c88863aa84f624b01d6add04e 1 parent bfab9d6
Justin Bronn authored December 06, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/gis/shortcuts.py
2  django/contrib/gis/shortcuts.py
@@ -14,7 +14,7 @@ def compress_kml(kml):
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
     """

0 notes on commit 8370e7c

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