The Sunday Times has obtained a draft copy of the code of conduct which warns candidates not to behave badly towards one another.