Workaround for Python2.6 / Django 1.2