migrating to django