Re: ModelChoiceField Question

2010-08-01 Thread Steve Holden
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

Re: ModelChoiceField Question

2010-07-29 Thread Daniel Roseman
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

Re: ModelChoiceField Question

2010-07-29 Thread euan.godd...@googlemail.com
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

ModelChoiceField Question

2010-07-28 Thread 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