django update
template mail error handling