From 07a9771b364a52ef7e4ee9d42116ce218e47d1b0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 3 Jun 2017 13:15:26 -0400 Subject: [PATCH] Removed unused django.contrib.gis.shortcuts.render_to_text() Unused since its introduction in 79e68c225b926302ebb29c808dda8afa49856f5c. --- django/contrib/gis/shortcuts.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/contrib/gis/shortcuts.py b/django/contrib/gis/shortcuts.py index 55fd1a6163..aa68140b62 100644 --- a/django/contrib/gis/shortcuts.py +++ b/django/contrib/gis/shortcuts.py @@ -38,8 +38,3 @@ def render_to_kmz(*args, **kwargs): compress_kml(loader.render_to_string(*args, **kwargs)), content_type='application/vnd.google-earth.kmz', ) - - -def render_to_text(*args, **kwargs): - "Render the response using the MIME type for plain text." - return HttpResponse(loader.render_to_string(*args, **kwargs), content_type='text/plain')