Django And The Disappearing Template Tags

If you are defining custom template tags, don’t put them in a file named log.py. You’ll be able to {% load log %} fine in your template, but you won’t be able to use your tags. No, this isn’t documented anywhere.

I suspect it’s because the admin interface also defines custom tags in a file named log.py and that you should avoid duplicating any template tags filename in your INSTALLED_APPS.

This public service announcement has been brought to you by a wasted hour of my life.