Django Template Include and I18n
In Django template we can use include to include another template into current template, and at the same time we can pass parameters to included tempalte.
{% include "include/another_template.html" with text='I love Python' %}
Sometimes, we need to tranalte include prarameters
, this can not be done in another_template.html …
阅读全文