Changed static HTML to django templates.