fgda logo for printout

Selected Articles

Topic: django

View all articles


Nested SQL for calculations inside database

January 8, 2011 | Tags: django, postgresql, sql

Ever needed to recalculate some fields in your Django models and wondered how it can be done efficiently? SQL might be the answer. Let me first explain the problem that made me think about it.

Jinja2 internationalization in Django

January 8, 2011 | Tags: django, i18n, jinja2, python

It took me a while to understand what is going on under the hood of Django and Jinja2 when it comes to i18n (internationalization). I'm sure this piece of information will be useful to anyone using Jinja2 templates inside Django that wants to support more than one language.