Removed unused django.contrib.gis.shortcuts.render_to_text()

Unused since its introduction in 79e68c225b.
This commit is contained in:
Tim Graham 2017-06-03 13:15:26 -04:00
parent 43b574007e
commit 07a9771b36
1 changed files with 0 additions and 5 deletions

View File

@ -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')