Ported app to django framework