﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26164	Django 1.9: All template tags are loaded, whether desired or not	Tim Baxter	nobody	"In Django 1.9, anything in /app/templatetags/ appears to be loaded, whether they are loaded into a template or not, desired, or even suited to the current environment.

To reproduce:

1. Start a fresh Django 1.9 project
2. pip install typogrify
3. Create a TemplateView URL, and in the template, simply have ""Hello world"", with no blocks, no template loading, no nothing.

You will see ""ImportError raised when trying to load 'typogrify.templatetags.jinja_filters': No module named jinja2""

Because jinja2 was never pip installed, of course. But Django is loading https://github.com/mintchaos/typogrify/blob/master/typogrify/templatetags/jinja_filters.py anyway. 

I don't think an unwanted third-party app should be able to control the environment. If this *is* actually desired or necessary, whether it makes sense to me or not, I think some guidance for template tag writers and site owners to mitigate downsides is in order

Reference: https://github.com/mintchaos/typogrify/issues/44"	Uncategorized	closed	Template system	1.9	Normal	invalid			Unreviewed	0	0	0	0	0	0
