From 3631a028e2d8eef9ade7b174d9cbe1440d4acfad Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 20 Jun 2012 19:13:35 -0400 Subject: [PATCH] [1.4.X] Fixed #18369 - Fixed argument name in render() function; thanks qsolo825@ for the report. Backport of 1cf8287e3a from master --- docs/topics/http/shortcuts.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 9c05c6e5e9..cce0bb45c1 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -15,7 +15,7 @@ introduce controlled coupling for convenience's sake. ``render`` ========== -.. function:: render(request, template[, dictionary][, context_instance][, content_type][, status][, current_app]) +.. function:: render(request, template_name[, dictionary][, context_instance][, content_type][, status][, current_app]) .. versionadded:: 1.3 @@ -32,7 +32,7 @@ Required arguments ``request`` The request object used to generate this response. -``template`` +``template_name`` The full name of a template to use or sequence of template names. Optional arguments