diff --git a/mamweb/settings_common.py b/mamweb/settings_common.py index 1a8984e3..7bdd6abf 100644 --- a/mamweb/settings_common.py +++ b/mamweb/settings_common.py @@ -74,6 +74,7 @@ TEMPLATES = [ 'OPTIONS': { 'context_processors': ( 'django.contrib.auth.context_processors.auth', + 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'sekizai.context_processors.sekizai', 'mamweb.context_processors.vzhled', @@ -114,6 +115,8 @@ INSTALLED_APPS = ( 'django.contrib.flatpages', 'django.contrib.humanize', + 'sitetree', + 'imagekit', 'polymorphic', diff --git a/mamweb/settings_local.py b/mamweb/settings_local.py index e5011926..517772ee 100644 --- a/mamweb/settings_local.py +++ b/mamweb/settings_local.py @@ -72,6 +72,11 @@ LOGGING = { }, }, 'loggers': { + 'werkzeug': { + 'handlers': ['console'], + 'level': 'DEBUG', + 'propagate': True, + }, '': { 'handlers': ['console'], 'level': 'DEBUG', diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index 310234da..50a865bd 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -1,4 +1,5 @@ {% load staticfiles sekizai_tags %} +{% load sitetree %}
@@ -96,6 +97,26 @@