def render_to_text(*args, **kwargs):
    return HttpResponse(loader.render_to_string(*args, **kwargs),
        content_type='text/plain')
Renders the response using the MIME type for plain text.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/shortcuts.py/render_to_text