<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> {% load static %} <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.min.css' %}"> <script src="{% static 'js/jquery-3.4.1.min.js' %}"></script> <script src="{% static 'js/bootstrap.min.js' %}"></script> </head> <body style="height: 500px"> <div class="d-flex justify-content-center align-items-center w-100 h-100"> <h1 class="mx-auto text-center">500</h1> </div> </body> </html>