Loading docs/topics/http/shortcuts.txt +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ This example is equivalent to:: def my_view(request): # View code here... t = loader.get_template('myapp/template.html') t = loader.get_template('myapp/index.html') c = RequestContext(request, {'foo': 'bar'}) return HttpResponse(t.render(c), content_type="application/xhtml+xml") Loading Loading
docs/topics/http/shortcuts.txt +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ This example is equivalent to:: def my_view(request): # View code here... t = loader.get_template('myapp/template.html') t = loader.get_template('myapp/index.html') c = RequestContext(request, {'foo': 'bar'}) return HttpResponse(t.render(c), content_type="application/xhtml+xml") Loading