From ae4360f2d22f61a5f6ae3481aac0653114606e76 Mon Sep 17 00:00:00 2001 From: "Leonardo.Z" Date: Tue, 18 Nov 2014 14:56:16 +0800 Subject: [PATCH 1/2] Fix the missing import for registering handlers in raven 2.X. This bug was fixed in Raven 3.1.1, but the patch was never backported to raven 2.x. This commit simply patch the commit 4431729220d45889144e29943d76d74badea7e9a to the raven 2.0.12.2 code. --- raven/contrib/django/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/raven/contrib/django/models.py b/raven/contrib/django/models.py index 88da47316..ecad99cce 100644 --- a/raven/contrib/django/models.py +++ b/raven/contrib/django/models.py @@ -204,7 +204,8 @@ def register_serializers(): # force import so serializers can call register import raven.contrib.django.serializers # NOQA -if 'raven.contrib.django' in django_settings.INSTALLED_APPS: +if ('raven.contrib.django' in django_settings.INSTALLED_APPS + or 'raven.contrib.django_compat' in django_settings.INSTALLED_APPS): # If we've explicitly enabled signals, or we're not running DEBUG, register handlers if getattr(django_settings, 'RAVEN_CONFIG', {}).get('register_signals', not django_settings.DEBUG): register_handlers() From 836a41596a1dc2be418cce50c205bd5001127eb0 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Sun, 14 Dec 2014 18:15:16 +0100 Subject: [PATCH 2/2] 2.0.12.3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d86136b30..3028ec8f0 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ setup( name='raven', - version='2.0.12.2', + version='2.0.12.3', author='David Cramer', author_email='dcramer@gmail.com', url='http://github.com/getsentry/raven-python',