Ticket #10699: 10699-template-api-example-typo.diff
File 10699-template-api-example-typo.diff, 418 bytes (added by , 16 years ago) |
---|
-
docs/ref/templates/api.txt
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
a b 323 323 c = RequestContext(request, { 324 324 'foo': 'bar', 325 325 }, [ip_address_processor]) 326 return t.render(c)326 return HttpResponse(t.render(c)) 327 327 328 328 .. note:: 329 329 If you're using Django's ``render_to_response()`` shortcut to populate a