Browse Source

settings_local: necachuj šablony

Aby nebylo nutné s každou změnou šablony restartovat server
remotes/origin/imagekit
Matěj Kocián 9 years ago
parent
commit
b8d1ef420a
  1. 5
      mamweb/settings_local.py

5
mamweb/settings_local.py

@ -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…
Cancel
Save