Fixed #3887 -- Fixed formatting error in docstring that was causing problems in
online admin documentation. Thanks Florian Apolloner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
44ba9aa674
commit
b6264d0452
|
@ -989,7 +989,9 @@ widthratio = register.tag(widthratio)
|
||||||
def do_with(parser, token):
|
def do_with(parser, token):
|
||||||
"""
|
"""
|
||||||
Add a value to the context (inside of this block) for caching and easy
|
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 %}
|
{% with person.some_sql_method as total %}
|
||||||
{{ total }} object{{ total|pluralize }}
|
{{ total }} object{{ total|pluralize }}
|
||||||
|
|
Loading…
Reference in New Issue