Fix template loaders for django 1.11
authorMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:56:56 +0000 (16:56 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:56:56 +0000 (16:56 +0200)
commit02a8b8dd82f7b24a1051a697ea121f4356a19950
tree4cd1d18f92168611bda7b9a744a22f71a51cdc54
parentf0be47c2458cc886b1e31dc9470e455991d24566
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).
hamnadmin/hamnadmin/settings.py