Kaydet (Commit) 042d87b9 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed #5483 -- Removed django.shortcuts.load_and_render, which was replaced a long time ago

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 5ce8a389
......@@ -16,7 +16,6 @@ def render_to_response(*args, **kwargs):
"""
httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
load_and_render = render_to_response # For backwards compatibility.
def _get_queryset(klass):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment