Jinja шаблон таблицы





Unlike in Python, it’s not possible to break or continue in a loop. This enables debug information to be displayed in the template postmortem, as well as in 3rd-party libraries, like the Django Debug Toolbar. You use the tags {% extends %} and {% block %} to implement inheritance. You should always add as much recurring code as possible to your base template to save yourself time in the future, which will far outweigh the initial time investment.

Похожие записи: