Added link to section in docs/howto/custom-template-tags.txt.
This commit is contained in:
parent
7614efa2f9
commit
56cd87a5af
|
@ -917,7 +917,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…
Reference in New Issue