Fixed #22460 -- Explicity remove constraints when dropping a related field.
Fixed flake8 warnings introduced in recent commits.
Fixed #22455 -- send_mail do not document the return value