{% load i18n %}

{% blocktrans with 'https://github.com/dcramer/raven' as link %}Start by installing raven-python:{% endblocktrans %}

pip install raven

{% trans "Then simply modify your Django configuration:" %}

# {% trans "Set your DSN value" %}
SENTRY_DSN = '{% if dsn %}{{ dsn }}{% else %}SENTRY_DSN{% endif %}'

# {% trans "Add raven to the list of installed apps" %}
INSTALLED_APPS = INSTALLED_APPS + (
# ...
'raven.contrib.django',
)

{% trans "That's it! Raven automatically installs an error handling hook to pipe all uncaught exceptions to Sentry." %}

{% blocktrans with 'http://raven.readthedocs.org' as link %}For more information on other uses of Raven with Django, please see the official documentation for raven-python.{% endblocktrans %}