Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
agumonkey
· 3y ago · 0 comments
Could be fun to see this replacing jinja in old frameworks like django. Although inheritance had a better feel with templates..
Comments
[–]
rmorshea
3y ago
ReactPy dev here. We're actually contributing to a WIP PEP that would add JS-like tagged template literals to Python. We think this will open up a whole new world of templating and DSL possibilities:
https://github.com/jimbaker/tagstr
[–]
agumonkey
OP
3y ago
How much support does the idea have ? I like js tagged templates but I was wondering if it would impact the language too much.
Good luck nonetheless
[–]
kolanos
3y ago
Is reactpy a fork of IDOM or a rebranding of it?
[–]
robertlagrant
3y ago
Django doesn't use Jinja, does it? I thought it did its own thing.
[–]
gkhartman
3y ago
They have their own template engine, but it can be swapped for Jinja2 optionally.
[–]
agumonkey
OP
3y ago
yeah my bad, but django and jinja are similar in nature, it's "fat" html template with inheritance and blocks.