From 579809b7b46990f3eba6c9c29dc1379d844d3468 Mon Sep 17 00:00:00 2001 From: Matt Dennewitz Date: Sat, 19 Jan 2013 17:08:25 -0600 Subject: [PATCH] Fixed `render()` syntax example Added missing `render` arg to `render()` example. --- README.rst | 2 +- docs/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index c6b63c0..0f3d03e 100644 --- a/README.rst +++ b/README.rst @@ -36,7 +36,7 @@ your view the same way you'd render Django templates:: def MyView(request): # TODO: Do something. context = dict(user_ids=[1, 2, 3, 4]) - render('users/search.html', context) + render(request, 'users/search.html', context) ..note:: diff --git a/docs/index.rst b/docs/index.rst index a87a182..ca88489 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -36,7 +36,7 @@ your view the same way you'd render Django templates:: def MyView(request): # TODO: Do something. context = dict(user_ids=[1, 2, 3, 4]) - render('users/search.html', context) + render(request, 'users/search.html', context) ..note::