Updating migrations for Django 1.5 compatibility
DRY patch for migrations with custom User model