{% extends "sentry/partial/client_config/python_base.html" %} {% load i18n %} {% block inner %}
{% blocktrans with 'https://github.com/getsentry/raven-python' 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.raven_compat', )
{% 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 %}
{% endblock %}