Ok, I misread the function as saying "is_valid" rather than "form_valid".