Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #3887 -- Fixed formatting error in docstring that was causing p…

…roblems in

online admin documentation. Thanks Florian Apolloner.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b6264d04528f7f83400b659a1a421cbe021c267b 1 parent 44ba9aa
Malcolm Tredinnick malcolmt authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/template/defaulttags.py
4 django/template/defaulttags.py
View
@@ -989,7 +989,9 @@ def widthratio(parser, token):
def do_with(parser, token):
"""
Add a value to the context (inside of this block) for caching and easy
- access. For example::
+ access.
+
+ For example::
{% with person.some_sql_method as total %}
{{ total }} object{{ total|pluralize }}
Please sign in to comment.
Something went wrong with that request. Please try again.