W
W
wat4mon2021-05-08 22:39:45
Flask
wat4mon, 2021-05-08 22:39:45

Is it necessary to know Jinja2 to learn and understand Flask? And in practice it is an important element?

Started learning Flask and came across Jinja2

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yupiter7575, 2021-05-08
@yupiter7575

Yes, definitely. You without jinj's are like without hands.

S
soremix, 2021-05-08
@soremix

Watching what you are doing. jinja is a template engine, if you do not use it in your project, then God bless it.
Suppose for a simple API, html documents are not needed at all for their projects, and even more so with variable substitution, in fact, jinja is also not needed. Or if, nevertheless, html documents are used, but they are static, as in a business card site.
If Flask is used to write a full-fledged site, then jinja knowledge is indispensable.

A
Antonio Solo, 2021-05-09
@solotony

necessarily. if you don't know Jinja2, then you don't pull on a jun. actually "what is there to know then?" regular template engine

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question