diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-10 14:05:16 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-10 14:05:16 +0000 |
| commit | a0cf7f4bb9e966e7d225c43fe087097ee3ebcc85 (patch) | |
| tree | 70cc56b587c4d37277b2fb8a575e66cd2f678d76 /docs | |
| parent | fed660e425a8ff5c0e96befdd2c0b6e6e2bb335b (diff) | |
Fixed #12135 -- Clarified custom template tag example. Thanks to EvilDMP for the report, and timo for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-template-tags.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt index f56cf22f66..1406d19b58 100644 --- a/docs/howto/custom-template-tags.txt +++ b/docs/howto/custom-template-tags.txt @@ -827,7 +827,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`` |
