fix django test failure