Migrate to django1.6