[1.8.x] Added link to section in docs/howto/custom-template-tags.txt.
Backport of 56cd87a5aff034a7b976977a2902697cd5397b94 from master
This commit is contained in:
parent
606e436a37
commit
06085024f6
@ -933,7 +933,8 @@ Registering the tag
|
|||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Finally, register the tag with your module's ``Library`` instance, as explained
|
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)
|
register.tag('current_time', do_current_time)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user