Permalink
Browse files

Fixed `render()` syntax example

Added missing `render` arg to `render()` example.
  • Loading branch information...
1 parent 017fbf8 commit 579809b7b46990f3eba6c9c29dc1379d844d3468 @mattdennewitz mattdennewitz committed Jan 19, 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 579809b

Please sign in to comment.