From 2117f44e544d57fe77ab406abbe19927f7e5eea0 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Sun, 25 Oct 2015 13:17:14 +0100 Subject: [PATCH] Lokalni logy - mene podrobnosti --- mamweb/settings_common.py | 1 + mamweb/settings_local.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mamweb/settings_common.py b/mamweb/settings_common.py index e4f3ddd5..4330c9e7 100644 --- a/mamweb/settings_common.py +++ b/mamweb/settings_common.py @@ -57,6 +57,7 @@ TEMPLATE_LOADERS = ( ) MIDDLEWARE_CLASSES = ( + 'reversion.middleware.RevisionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', diff --git a/mamweb/settings_local.py b/mamweb/settings_local.py index 54bef63e..ba85274a 100644 --- a/mamweb/settings_local.py +++ b/mamweb/settings_local.py @@ -38,4 +38,5 @@ DATABASES = { # LOGGING -LOGGING['handlers']['console']['level'] = 'DEBUG' +# set to 'DEBUG' for EXTRA verbose output +LOGGING['handlers']['console']['level'] = 'INFO'