{% 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." %}
{% trans "If you wish to test your connection to the server, you can use the raven test command:" %}
python manage.py raven test{% endblock %}