{% load static %} {% autoescape off %} {{ df.to_html }} {% endautoescape %}