Ticket #5483: load_and_render.diff
File load_and_render.diff, 495 bytes (added by , 17 years ago) |
---|
-
django/shortcuts/__init__.py
16 16 """ 17 17 httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)} 18 18 return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) 19 load_and_render = render_to_response # For backwards compatibility.20 19 21 20 def _get_queryset(klass): 22 21 """