jbalogh/jingo — pull request #44 by gkapkowski (2013-08-13 09:38:56+00:00)
Title: Django tests override_settings decorator not working properly with jingo

Jingo creates Environment instance at startup but during tests TEMPALTE_DIRS setting can be changes by override_settings, this causes that Jinja2 FileSystem loader has invalid `searchpath` attribute. to fix this I'm recreating all loaders in Environment on setting_changed signal.

Feel free to reimplement according to your liking.