moved code from views to a ModelForm, where it should be.... I think.