Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 719 Bytes


A Nose plugin that displays which Django templates were and were not used (loaded) during test execution.


pip install nose-template-usage


To enable the template usage report, include the --with-template-usage-report command line option when running your tests with python nosetests or the nosetests command.

Ignoring Directories

You probably don't want to include templates from third-party libraries in your template usage report. To ignore template prefixes, use the --ignore-template-prefix=path/ option. The value of the path/ is the path relative to the template loader.