On 7/29/2010 8:56 AM, Daniel Roseman wrote:
> On Jul 29, 5:23 am, Carlos Daniel Ruvalcaba Valenzuela
> wrote:
>> Hello list,
>>
>> I was wondering which would be the best way to handle this situation
>> with ModelChoiceFields:
>>
>> I have a form with a ModelChoiceField, the
On Jul 29, 5:23 am, Carlos Daniel Ruvalcaba Valenzuela
wrote:
> Hello list,
>
> I was wondering which would be the best way to handle this situation
> with ModelChoiceFields:
>
> I have a form with a ModelChoiceField, the options presented in this
> field may change at the
I believe ModelChoiceField is meant to be used with ModelForm. I'd
stick to one or the other. Either use ModelForm and let it do the
work, or use Form and do the work yourself rather than trying to get
ModelChoiceField to work.
Euan
On 29 July, 05:23, Carlos Daniel Ruvalcaba Valenzuela
Hello list,
I was wondering which would be the best way to handle this situation
with ModelChoiceFields:
I have a form with a ModelChoiceField, the options presented in this
field may change at the view depending on the user, however,
ModelChoiceField requires the queryset to be given as a
4 matches
Mail list logo