def METHOD_NAME(request, template_name="500.html"):
    """Custom 500 error handler.
    Arguments:
        template_name (template): Template for rendering
    """
    return render(request, template_name, status=500)