> what is the best way of do what I want to do?
> I don't think it will be store firstForm.data o request.POST in
> session it's a good idea, so, what are the other possibilities?
I would recommend taking a copy of the clean data, then run through and just
change your ModelChoiceField back into
abr, 07:09, Andy McKay <a...@clearwind.ca> wrote:
> On 2011-04-21, at 4:07 PM, ekms wrote:
>
> > So, what is the correct way to create a bound form of
> > ModelChoiceField? I could store request.POST or myform.data instead
> > of myform.cleaned_data, but I don't know if
On 2011-04-21, at 4:07 PM, ekms wrote:
> So, what is the correct way to create a bound form of
> ModelChoiceField? I could store request.POST or myform.data instead
> of myform.cleaned_data, but I don't know if this is right.
You are confusing me when you say a bound form of a ModelCh
umber").
This is because ModelChoiceField cleaned_data normalizes to an
object, not to the id of the object, (id that is the expected int).
So, what is the correct way to create a bound form of
ModelChoiceField? I could store request.POST or myform.data instead
of myform.cleaned_data, but I
4 matches
Mail list logo