<div class="alert alert-success" role="alert"> This is a success alert—check it out! </div>
from django.contrib.messages import constants as messages MESSAGE_TAGS = { messages.ERROR: 'danger', }