{% extends "sentry/partial/client_config/python_base.html" %} {% load i18n %} {% block inner %}

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

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

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

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

{% endblock %}