Skip to content

Commit

Permalink
Update django middleware docs
Browse files Browse the repository at this point in the history
The old method has been removed since Django 1.4
  • Loading branch information
mattrobenolt committed Aug 1, 2015
1 parent 23fc5b5 commit faff47c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/integrations/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faff47c

Please sign in to comment.