[Python-ideas] Draft PEP on string interpolation

Mike Miller python-ideas at mgmiller.net
Mon Aug 24 10:51:58 CEST 2015


On 08/23/2015 06:41 PM, Nick Coghlan wrote:
> You hit a similar problem if you're targeting Django or Jinja2
> templates, or any content that involves l20n style JavaScript
> translation strings: the use of braces for substitution expressions in


Hi, this part I don't get, maybe because it's so late here.  Why create 
Django/Jinja2/i20n templates inside Python code using another templating 
language (whether Template or .format)?

Those kind of templates should be in dedicated text files, no?

-Mike


More information about the Python-ideas mailing list