Wednesday, November 21, 2018

HTML templating system

Since HTML that is embedded in code can be difficult to maintain, you should use a templating system, storing HTML in a separate file that uses special syntax to specify where the data returned from an application appears. You can use your template engine of choice by bundling it with your application code. For Python, it includes the Django and Jinja2 templating engines.