mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
5ce8a38933
commit
042d87b98c
|
@ -16,7 +16,6 @@ def render_to_response(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
|
httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
|
||||||
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
|
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
|
||||||
load_and_render = render_to_response # For backwards compatibility.
|
|
||||||
|
|
||||||
def _get_queryset(klass):
|
def _get_queryset(klass):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue