[1.1.X] Fixed #12135 -- Clarified custom template tag example. Thanks to EvilDMP for the report, and timo for the patch.

Backport of r13220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-05-10 14:14:41 +00:00
parent 61beb4549d
commit 45f5e0c980
1 changed files with 1 additions and 1 deletions

View File

@ -751,7 +751,7 @@ like so:
.. code-block:: html+django
{% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
{% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
<p>The current time is {{ my_current_time }}.</p>
To do that, you'll need to refactor both the compilation function and ``Node``