fixing deploy problems on heroku after upgrade to django 1.5.5