Message from JavaScript discussions

November 2017

— And in that template there is {% extends "core/base.html" %} which is my base template


And then I put e.g. {% block content %} in my base template, which I can then replace with whatever I want it "user/home.html"

— Alright...

— Heh

— It's basically like handlebars, but I don't know if that can do that kind of template inheritance

— Is that Django?

— {% python code %} ?

— Well, yes and no

— Exactly like twig

— It's similar to python, but it's a custom language

— A templating engine, what is it called ?

— And django was the original implementation, but there is also a standalone implementation named "jinja2"

Message permanent page