Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #33 from mattdennewitz/master

"render" shortcut doc fix
  • Loading branch information...
commit c2d04ff28b21d730a8d18c720fb03496532c9633 2 parents 017fbf8 + 579809b
James Socol authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.rst
  2. +1 −1  docs/index.rst
2  README.rst
View
@@ -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::
2  docs/index.rst
View
@@ -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::
Please sign in to comment.
Something went wrong with that request. Please try again.