Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23382

Przemysław Kołodziejczyk: Python 3 - Template strings instead of external template engine

$
0
0
I don’t know about you, but there is only one thing where I use templates on the backend side. Emails. Usually, when people need to render HTML template, they install Jinja2 or other template engines. The case is that it’s not always required. If you have a template where you need to put some data, you don’t need an external template engine. When you need to do something with this data, you don’t need to do that inside a template using Jinja2 filters.

Viewing all articles
Browse latest Browse all 23382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>