2 ms·
For template tags, is doing it that way better than importing them in a base template which is included by the children templates?
by mhb 17y ago
For template tags, is doing it that way better than importing them in a base template which is included by the children templates?
- kennethlove 17y agoTemplatetags don't inherit (at least not in my experience) so if you don't want to have to load the tags on every template, add them to your global templatetags: http://www.djangosnippets.org/snippets/160/ http://www.djangosnippets.org/snippets/160/