summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-06-03 13:15:26 -0400
committerTim Graham <timograham@gmail.com>2017-06-03 13:15:26 -0400
commit07a9771b364a52ef7e4ee9d42116ce218e47d1b0 (patch)
tree54dae33faa39ff5a7910cf2f1eacce7576b45a19
parent43b574007ef5edfe11f3b899fbe0a6fc05c43774 (diff)
Removed unused django.contrib.gis.shortcuts.render_to_text()
Unused since its introduction in 79e68c225b926302ebb29c808dda8afa49856f5c.
-rw-r--r--django/contrib/gis/shortcuts.py5
1 files changed, 0 insertions, 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')