Throw exception in GenericTemplateFinderMiddleware in not DEBUG mode.
Throw exception in GenericTemplateFinderMiddleware in not DEBUG mode.

That middleware should never be used on a production site, it exposes
every file in your TEMPLATE_DIRS.

fusionbox/django-argonauts