| published by | Adam Johnson |
|---|---|
| in blog | Adam Johnson |
| original entry | Django: Move a template tag library into builtins |
Django’s template engine has an underappreciated builtins option that selects libraries to preload in every template.
Making a library a builtin avoids the need for an explicit {% load %} tag whenever you use its tags or filters.
Putting key libraries in builtins can shorten your templates and make development a …