the `clean_code` function should ensure the right thing gets saved when the form populates the modle