Ticket #12135: 12135b.diff

File 12135b.diff, 542 bytes (added by Tim Graham, 14 years ago)
  • docs/howto/custom-template-tags.txt

     
    829835
    830836.. code-block:: html+django
    831837
    832     {% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
     838    {% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
    833839    <p>The current time is {{ my_current_time }}.</p>
    834840
    835841To do that, you'll need to refactor both the compilation function and ``Node``
Back to Top