Migrating to django