Ticket #12135: 12135a.diff
File 12135a.diff, 589 bytes (added by , 15 years ago) |
---|
-
docs/howto/custom-template-tags.txt
862 868 The difference here is that ``do_current_time()`` grabs the format string and 863 869 the variable name, passing both to ``CurrentTimeNode3``. 864 870 871 As in previous examples, you need to register the tag before you can use it:: 872 873 register.tag('get_current_time', do_current_time) 874 865 875 Parsing until another block tag 866 876 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 867 877