From c7dcc25de09131e9b00e64d775afeda478333b87 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Wed, 15 Jan 2014 19:34:11 -0500 Subject: [PATCH] Small 1.5 compatibility things --- karmaworld/settings/common.py | 6 ++++++ reqs/common.txt | 2 +- reqs/dev.txt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/karmaworld/settings/common.py b/karmaworld/settings/common.py index fd604a5..38381ba 100644 --- a/karmaworld/settings/common.py +++ b/karmaworld/settings/common.py @@ -280,6 +280,11 @@ AUTH_PROFILE_MODULE = 'users.UserProfile' LOGGING = { 'version': 1, 'disable_existing_loggers': False, + 'filters': { + 'require_debug_false': { + '()': 'django.utils.log.RequireDebugFalse' + } + }, 'handlers': { 'console': { 'level': 'INFO', @@ -287,6 +292,7 @@ LOGGING = { }, 'mail_admins': { 'level': 'ERROR', + 'filters': ['require_debug_false'], 'class': 'django.utils.log.AdminEmailHandler' } }, diff --git a/reqs/common.txt b/reqs/common.txt index ca53bf9..cd8c876 100644 --- a/reqs/common.txt +++ b/reqs/common.txt @@ -7,7 +7,7 @@ supervisor==3.0b1 oauth2client==1.0 urllib3==1.5 google-api-python-client==1.0 -django-grappelli==2.4.3 +django-grappelli==2.4.8 lxml==3.1.0 git+https://github.com/FinalsClub/django-taggit.git django-filepicker==0.1.5 diff --git a/reqs/dev.txt b/reqs/dev.txt index 8f01b61..17e9725 100644 --- a/reqs/dev.txt +++ b/reqs/dev.txt @@ -1,6 +1,6 @@ -r common.txt django-kombu==0.9.4 -django-debug-toolbar==0.9.4 +django-debug-toolbar ipython==0.13.1 ipdb==0.7 django-extensions==1.0.3 # some extra debugging tools for manage.py -- 2.25.1