Migrate django1.6