Jinja2 template support #197
Replies: 4 comments 1 reply
-
To be honest I've never used Jinja2 within Django. However, I'm open to the idea of it. It would be really easy to replicate our current template tag with jinja2-simple-tags. Or alternatively, if Django has some built-in system for Jinja2, we could utilize that. Would you be interested in creating a PR for this? |
Beta Was this translation helpful? Give feedback.
-
Yes I would. I do have some experience of creating custom Jinja2 tags, but my knowledge on the JS side is pretty scant (I use vanilla ES6 JS. but nothing like a transpiler, tree-shaking or framework such as React. For me, I'd need to use the experience to learn how the rest of the world does JS ;-)). I'll get back in touch when I have something. |
Beta Was this translation helpful? Give feedback.
-
Ack. I was more thinking of what I'd need to learn to test the new template!
Thanks for the pointers. Luckily I've some experience creating Jinja2 tags (I contributed the existing "debug" tag) and am not expecting problems with that bit. |
Beta Was this translation helpful? Give feedback.
-
See #198 |
Beta Was this translation helpful? Give feedback.
-
I understand that the current way reactpy-django integrates with Django is based on Django's native templates. Is there any prospect of integration with Django's alternative Jinja2-templates?
Beta Was this translation helpful? Give feedback.
All reactions