@@ -4,9 +4,9 @@ Customizing Template Tags
44The TOM Toolkit is designed to be as customizable as possible. A number
55of UI objects are rendered as Django templatetags. Django has quite a
66few `built-in template
7- tags <https://docs.djangoproject.com/en/3.0 /ref/templates/builtins/> `__,
7+ tags <https://docs.djangoproject.com/en/stable /ref/templates/builtins/> `__,
88but also allows the creation of `custom template
9- tags <https://docs.djangoproject.com/en/3.0 /howto/custom-template-tags/> `__,
9+ tags <https://docs.djangoproject.com/en/stable /howto/custom-template-tags/> `__,
1010which the TOM Toolkit leverages heavily.
1111
1212However, it’s possible that a TOM Toolkit template tag doesn’t quite
@@ -15,6 +15,15 @@ quite what you’re looking for, or the target data isn’t formatted the
1515way you’d like. This tutorial will show you how to write your own
1616template tag to suit your own program better.
1717
18+ Basics of Django Templating Vocabulary
19+ --------------------------------------
20+ Sometimes the different terms involved in Django Templating that we use here can be confusing.
21+ If you find yourself needing a reminder of what the different terms mean, we've included this graphic, for a more
22+ detailed description please see the
23+ `Django Template Documentation <https://docs.djangoproject.com/en/stable/topics/templates/ >`__.
24+
25+ |image0 |
26+
1827Preparing your project for custom template tags
1928-----------------------------------------------
2029
@@ -320,3 +329,5 @@ easily modified.
320329As far as this template tag goes, as of this tutorial, it’s now a part
321330of the base TOM Toolkit, but all of the information here should provide
322331you with the ability to write your own.
332+
333+ .. |image0 | image :: /_static/customize_template_tags_doc/Templatetags.png
0 commit comments