Fix to run with django 1.6