{% load i18n humanize %} {% comment %} This template is paired with utils.mixins.WarnAboutLegacySendgridConfigVarsMixin and is intended for including in page-alerts blocks. When removing, also remove the relevant block in settings/heroku.py, utils.mixins.WarnAboutLegacySendgridConfigVarsMixin, and references to this template. {% endcomment %} {% if using_legacy_sendgrid_config_vars %} {% blocktrans trimmed asvar legacy_sendgrid_warning_message %} It looks like you're using the old SendGrid config vars on Heroku, SENDGRID_USERNAME and SENDGRID_PASSWORD. These are now deprecated (as of version 2.6), and will stop working in a future version of TAB DEBAT MALAYSIA. Please change your config vars to use SENDGRID_API_KEY instead. For more information, please see our documentation on this topic. {% endblocktrans %} {% include "components/alert.html" with type="warning" icon="alert-circle" message=legacy_sendgrid_warning_message %} {% endif %}