Ticket #12135: 12135b.diff
File 12135b.diff, 542 bytes (added by , 15 years ago) |
---|
-
docs/howto/custom-template-tags.txt
829 835 830 836 .. code-block:: html+django 831 837 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 %} 833 839 <p>The current time is {{ my_current_time }}.</p> 834 840 835 841 To do that, you'll need to refactor both the compilation function and ``Node``