thank you so much the code u linked me help me a lot...
i still used multivaluefield and multiwidget,
i overrided the render method as u suggested
an then i modified it copying a bit from the render method
i found in the code u linked me :-)
and well at list till i find any bug, it's working
t
Hi,
I see two solutions:
- be strict: Update the table to contain three columns.
day (0..6), start_hour and end_hour.
--> No need for MultiWidget
- don't be strict: Leave it as a charfield. I guess this field is
only read be humans. This gives you more possibilities:
Mon 15-17. Exce
thanks for the answer... anyway, my problem is that i already
have a database so i don't really want to change it.
in this case in particular i have a table called 'teachings'
(that should be managed by the model i created)
where all the subjects taught by a professor r stored.
for each subject (i
mondonauta schrieb:
> hello, sorry i'm newb so that's y i need your help.
> i made a model... and thanks django, it's very simple... but my
> problem
> is that i want 1 specific field from this model to be split in 3
> choiceFields.
>
Using MultiValueField is not easy. What kind of data do you
hello, sorry i'm newb so that's y i need your help.
i made a model... and thanks django, it's very simple... but my
problem
is that i want 1 specific field from this model to be split in 3
choiceFields.
ah, in the database's table the same field is stored as varchar (i''m
working with mysql).
i t
5 matches
Mail list logo