add migrations for generic attachements
fix python2.7 problem on live_server fixture of pytest-django