completes django app part 2