Final commit for django app. Comments addded.