mirror of
https://github.com/django/django.git
synced 2025-06-08 13:09:13 +00:00
[3.0.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 33eecfa7405ea997669f8edb61c596c3f295c793 from master
This commit is contained in:
parent
e9005d693c
commit
895c0889e4
@ -892,7 +892,7 @@ 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 :ref:`writing custom template filters<howto-writing-custom-template-tags>`
|
in :ref:`writing custom template tags<howto-writing-custom-template-tags>`
|
||||||
above. Example::
|
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