moving from java to python. using django.