Fix template loaders for django 1.11
authorMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:54:59 +0000 (16:54 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 25 Mar 2018 14:54:59 +0000 (16:54 +0200)
commit6f5f698646f76fbdca083d2a8afe37794a9d6c51
tree674a6f5bddda8e9561c6b894ac4bd043179a51c7
parent9f2fc4dc776939785bc1041066074b01bcf7afda
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).
gitadmin/gitadmin/settings.py