Django 1.3.x compatibility restored