Fix template loaders for django 1.11
authorMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:56:21 +0000 (16:56 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:56:21 +0000 (16:56 +0200)
commit7c131bc5755c0f52a99ac47c7f6d79aecbca679b
tree9fbf6542548749db94544c2e54f696a688452dae
parentd7fd3f690568c0e00fec5060329d9732466eefdf
Fix template loaders for django 1.11

Seems django 1.11 automatically enables caching template loader, which
of course breaks the ability to make any changes to the pages of a
website without restarting it. And there is no way to turn it off other
than to explicitly configure individual loders (the logic to turn it on
in non-debug configurations is hardcoded and cannot be changed).
pgmailmgr/settings.py