Re: newforms: how to validate form_for_model ?

2007-11-07 Thread Thomas Guettler
Am Mittwoch, 7. November 2007 12:02 schrieb parabol: > Hi, > I have a form class which is generated with form_for_model. How can I > write my custom validator? I think I should set a clean() method for > that class. Is it reasonable to say that; > > fom1.clean= def clean You could set the

newforms: how to validate form_for_model ?

2007-11-07 Thread parabol
Hi, I have a form class which is generated with form_for_model. How can I write my custom validator? I think I should set a clean() method for that class. Is it reasonable to say that; fom1.clean= def clean fkoksal --~--~-~--~~~---~--~~ You received this