django app example fixes