Re: CheckboxSelectMultipleField problem

2006-09-06 Thread mthorley
Thanks Guille, that looks like it will do what I want, but I just realized I have another, different, problem. -- mthorley --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: CheckboxSelectMultipleField problem

2006-09-05 Thread Guillermo Fernandez Castellanos
Hi, The prepare is actually a method of Manipulator that calls the prepare method in each of the fields. So you might want to call it from the Manipulator.save() method. Or in the html2python by overiding it, calling first self.prepare() and then Method.html2Python(self). But I'm just guessing,

Re: CheckboxSelectMultipleField problem

2006-09-05 Thread mthorley
I've run into a similar problem witha a custom field I am developing that is, in-part, based off of CheckboxSelectMultipleField. Do you know if there is any way to automate the call of prepare? -- mthorley --~--~-~--~~~---~--~~ You received this message because y

Re: CheckboxSelectMultipleField problem

2006-09-05 Thread Guillermo Fernandez Castellanos
Cheers, After a lot of trial-and-error and some source reading, an answer to my own post: In order to use a CheckboxSelectMultipleField as a SelectMultipleField you must prepare the data before :-) That means: if request.POST: new_data = request.POST.copy() errors = manipulat