Merge pull request #33 from mattdennewitz/master

"render" shortcut doc fix
This commit is contained in:
James Socol
2013-01-22 06:44:24 -08:00
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::