Loading docs/howto/custom-template-tags.txt +2 −1 Original line number Diff line number Diff line Loading @@ -933,7 +933,8 @@ Registering the tag ~~~~~~~~~~~~~~~~~~~ Finally, register the tag with your module's ``Library`` instance, as explained in "Writing custom template filters" above. Example:: in :ref:`writing custom template filters<howto-writing-custom-template-tags>` above. Example:: register.tag('current_time', do_current_time) Loading Loading
docs/howto/custom-template-tags.txt +2 −1 Original line number Diff line number Diff line Loading @@ -933,7 +933,8 @@ Registering the tag ~~~~~~~~~~~~~~~~~~~ Finally, register the tag with your module's ``Library`` instance, as explained in "Writing custom template filters" above. Example:: in :ref:`writing custom template filters<howto-writing-custom-template-tags>` above. Example:: register.tag('current_time', do_current_time) Loading