move from rails to django