diff options
author | Matt Robenolt <matt@ydekproductions.com> | 2015-08-01 12:24:50 -0700 |
---|---|---|
committer | Matt Robenolt <matt@ydekproductions.com> | 2015-08-01 12:24:50 -0700 |
commit | faff47c9f01ef0f08773fbc7f132f9a9562154e3 (patch) | |
tree | 509824a31481ad92ce5d97dc613501a7b5f56657 | |
parent | 23fc5b5d8a61ea91fc732b23816a76d0453cd971 (diff) | |
download | raven-faff47c9f01ef0f08773fbc7f132f9a9562154e3.tar.gz |
Update django middleware docs
The old method has been removed since Django 1.4
-rw-r--r-- | docs/integrations/django.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/integrations/django.rst b/docs/integrations/django.rst index 2dfbcc0..297bf65 100644 --- a/docs/integrations/django.rst +++ b/docs/integrations/django.rst @@ -208,9 +208,9 @@ middleware which will ensure that you catch errors even at the fundamental level of your Django application:: from raven.contrib.django.raven_compat.middleware.wsgi import Sentry - from django.core.handlers.wsgi import WSGIHandler + from django.core.wsgi import get_wsgi_application - application = Sentry(WSGIHandler()) + application = Sentry(get_wsgi_application()) Additional Settings |