Commits

Anonymous committed 20d212a

[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.

Comments (0)

Files changed (1)

docs/howto/custom-template-tags.txt

 
 .. 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``