Support for Django<1.7 and migrations.