diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-04-03 03:45:47 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-04-03 03:45:47 +0000 |
| commit | b6264d04528f7f83400b659a1a421cbe021c267b (patch) | |
| tree | 8dc76598245e14d93ee0f71ec67d186c452b7291 | |
| parent | 44ba9aa6747de919b71a603b9b971927a00eb585 (diff) | |
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
| -rw-r--r-- | django/template/defaulttags.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 }} |
