Posljednji unosi u blogu

  • Jinja2 + Django: global functions and filters

    19:44 03.12.2011

    Global functions are functions available for use in all Jinja2 templates. The advantage of using global functions is that the template can execute any piece of code and show the result of the function or simply process it later in the logic of the code template. The concept of filters is inherited from the Django template engine. Filters receive the results of the previous function or variable value, process it and returned back.…

    Read More...

  • Jinja2 template engine in Django framework

    23:44 05.11.2011

    Jinja2 is a modern template engine for Python, modeled on the Django template engine. In addition to being far more powerful than the Django template engine, speed tests show that in some cases ten times better performances can be achieved.…

    Read More...