def _get_priority_css_class(self):
        if self.priority == 2:
            return "warning"
        elif self.priority == 1:
            return "danger"
        else:
            return ""
Return the boostrap class corresponding to the priority.
dataset/ETHPy150Open rossp/django-helpdesk/helpdesk/models.py/Ticket._get_priority_css_class