1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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