{% load i18n %}
{% blocktrans with 'https://github.com/getsentry/raven-python' as link %}Start by installing raven-python and Blinker:{% endblocktrans %}
pip install raven blinker
{% trans "Blinker is required for signals to work within Flask." %}
{% trans "Add the required configuration in your application setup:" %}
from raven.contrib.flask import Sentry app.config['SENTRY_DSN'] = '{% if dsn %}{{ dsn }}{% else %}SENTRY_DSN{% endif %}' sentry = Sentry(app)
{% 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 Flask, please see the official documentation for raven-python.{% endblocktrans %}