Django 1.3.5 fix