Fixed render() syntax example

Added missing `render` arg to `render()` example.
This commit is contained in:
Matt Dennewitz
2013-01-19 17:08:25 -06:00
parent 017fbf8f1d
commit 579809b7b4
2 changed files with 2 additions and 2 deletions

View File

@@ -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::

View File

@@ -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::