I'm trying to use bootstrap 4 badge in this way:
<td><span class="badge badge-warning">{{ object.get_type_display }}</span></td>
I'm using:
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css
What can be a reason?
There is no badge class on that css. Try another version (as far as i've seen there is on alpha.6 version). use the following link: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css