summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-05-10 14:14:41 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-05-10 14:14:41 +0000
commit45f5e0c980bd0e6387f5d4041677a027677fb785 (patch)
tree74cf9a405c72e582da56d19cae07e6fff9f2e19f /docs
parent61beb4549d7d09caff98c629124ca8ad6480ac51 (diff)
[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
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-template-tags.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt
index af2a5474d8..6ed9004157 100644
--- a/docs/howto/custom-template-tags.txt
+++ b/docs/howto/custom-template-tags.txt
@@ -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``