From b8d1ef420a558a055b724ad27d15aa6fce7f47d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Sun, 8 Nov 2015 21:11:45 +0100 Subject: [PATCH] =?UTF-8?q?settings=5Flocal:=20necachuj=20=C5=A1ablony?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aby nebylo nutné s každou změnou šablony restartovat server --- mamweb/settings_local.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mamweb/settings_local.py b/mamweb/settings_local.py index ba85274a..5ac59cd0 100644 --- a/mamweb/settings_local.py +++ b/mamweb/settings_local.py @@ -40,3 +40,8 @@ DATABASES = { # set to 'DEBUG' for EXTRA verbose output LOGGING['handlers']['console']['level'] = 'INFO' + +# So that it is not necessary to restart the server every time a template is +# changed +TEMPLATE_LOADERS = ('django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader')