Skip to content
Browse files

Merge pull request #33 from mattdennewitz/master

"render" shortcut doc fix
  • Loading branch information...
2 parents 017fbf8 + 579809b commit c2d04ff28b21d730a8d18c720fb03496532c9633 James Socol committed Jan 22, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.rst
  2. +1 −1 docs/index.rst
View
2 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::
View
2 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::

0 comments on commit c2d04ff

Please sign in to comment.
Something went wrong with that request. Please try again.