Ticket #16793: load_tag_linking.diff
File load_tag_linking.diff, 1.5 KB (added by , 13 years ago) |
---|
-
docs/howto/custom-template-tags.txt
70 70 and tags. They're in ``django/template/defaultfilters.py`` and 71 71 ``django/template/defaulttags.py``, respectively. 72 72 73 For more information on the :ttag:`load` tag, see :doc:`/ref/templates/builtins`. 74 73 75 Writing custom template filters 74 76 ------------------------------- 75 77 -
docs/topics/templates.txt
623 623 =============================== 624 624 625 625 Certain applications provide custom tag and filter libraries. To access them in 626 a template, use the ``{% load %}`` tag::626 a template, use the :ttag:`load` tag:: 627 627 628 628 {% load comments %} 629 629 630 630 {% comment_form for blogs.entries entry.id with is_public yes %} 631 631 632 In the above, the ``load`` tag loads the ``comments`` tag library, which then632 In the above, the :ttag:`load` tag loads the ``comments`` tag library, which then 633 633 makes the ``comment_form`` tag available for use. Consult the documentation 634 634 area in your admin to find the list of custom libraries in your installation. 635 635 636 The ``{% load %}`` tag can take multiple library names, separated by spaces.636 The :ttag:`load` tag can take multiple library names, separated by spaces. 637 637 Example:: 638 638 639 639 {% load comments i18n %}