Skip to content

Commit

Permalink
Fixed #10120 -- Added a return to a doc example, patch from andrews.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Mar 31, 2009
1 parent e87e743 commit 86d772b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/http/shortcuts.txt
Expand Up @@ -76,7 +76,7 @@ This example is equivalent to::
# View code here...
t = loader.get_template('myapp/template.html')
c = Context({'foo': 'bar'})
r = HttpResponse(t.render(c),
return HttpResponse(t.render(c),
mimetype="application/xhtml+xml")

``redirect``
Expand Down

0 comments on commit 86d772b

Please sign in to comment.