mirror of
https://github.com/django/django.git
synced 2025-03-06 07:22:32 +00:00
[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
|
||||
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…
x
Reference in New Issue
Block a user