Support Django 1.7 migrations

This is required for django 1.7 migrations for django CMS (at least to run the testsuite)