settings_local: necachuj šablony
Aby nebylo nutné s každou změnou šablony restartovat server
This commit is contained in:
parent
c92fb9735e
commit
b8d1ef420a
1 changed files with 5 additions and 0 deletions
|
@ -40,3 +40,8 @@ DATABASES = {
|
||||||
|
|
||||||
# set to 'DEBUG' for EXTRA verbose output
|
# set to 'DEBUG' for EXTRA verbose output
|
||||||
LOGGING['handlers']['console']['level'] = 'INFO'
|
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')
|
||||||
|
|
Loading…
Reference in a new issue