I wrote a clean_csi() method and I call it in each clean_()
method passing the field name and
and it's working now
Here is the code
def clean_csi(self, field):
data = self.cleaned_data[field]
data.sort()
csi_list = []
first_element = True
for element
On Thu, 2009-08-06 at 07:35 -0700, nono wrote:
> I was reading my post and though it was not very clear
>
> My model uses CommaSeparatedIntegerField to store some integer values.
> I want my users to use SelectMultiple widget to create/update those
> integer so I put a ChoiceField with
I was reading my post and though it was not very clear
My model uses CommaSeparatedIntegerField to store some integer values.
I want my users to use SelectMultiple widget to create/update those
integer so I put a ChoiceField with widget=SelectMultiple in my form.
My problem is that all I can get
Hi,
my model uses CommaSeparatedIntegerField to store a list of integer. I
want my users to use SelectMultiple widget to create/update this field
so I put a ChoiceField with widget=SelectMultiple in my form. My
problem is that all I can get from this is a list of values where I
expect comma
4 matches
Mail list logo