From b6264d04528f7f83400b659a1a421cbe021c267b Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 3 Apr 2007 03:45:47 +0000 Subject: [PATCH] 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 --- django/template/defaulttags.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index 6a37c163e9..448ad8a50b 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -989,7 +989,9 @@ widthratio = register.tag(widthratio) 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 }}