Ticket #5483: load_and_render.diff

File load_and_render.diff, 495 bytes (added by James Bennett, 17 years ago)

Patch which removes load_and_render

  • django/shortcuts/__init__.py

     
    1616    """
    1717    httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
    1818    return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
    19 load_and_render = render_to_response # For backwards compatibility.
    2019
    2120def _get_queryset(klass):
    2221    """
Back to Top