On Wed, Oct 26, 2011 at 7:22 PM, Kurtis Mullins
wrote:
> Hey Guys,
> I hate to bother you again. But -- is there a way to get the currently
> selected data from this set? For example, a user hits the page and all
> choices are displayed fine. But, they pick some choices. They haven't
> finished ed
Hey Guys,
I hate to bother you again. But -- is there a way to get the currently
selected data from this set? For example, a user hits the page and all
choices are displayed fine. But, they pick some choices. They haven't
finished editing the form or maybe they made a mistake, anyways they land in
I remember trying to help you with this on IRC, Kurtis. I've had the
same problem before, but I could never remember that BoundFields have
a field attribute.. If there isn't a note in the docs (or even better,
an example), I'll make sure to write a patch in the next few days.
Cheers,
AT
On 10/25
Thank you so much for this, Tom! I've asked this question quite a few
times in IRC and couldn't come across the answer I was looking for. I
figured it was possible, I just had no idea how to access it. Much
appreciation!
On Oct 24, 11:26 am, Tom Evans wrote:
> On Thu, Oct 20, 2011 at 8:37 PM, Kur
On Thu, Oct 20, 2011 at 8:37 PM, Kurtis wrote:
> Hey,
>
> I'm trying to build a custom template for my ModelForm. My ModelForm
> contains several M2M fields. If I run the ModelForm.as_view and then
> in my template print {{ form.as_p }} it'll automagically display those
> choices.
>
> Now what I w
Bump
On Thu, Oct 20, 2011 at 3:37 PM, Kurtis wrote:
> Hey,
>
> I'm trying to build a custom template for my ModelForm. My ModelForm
> contains several M2M fields. If I run the ModelForm.as_view and then
> in my template print {{ form.as_p }} it'll automagically display those
> choices.
>
> Now w
Hey,
I'm trying to build a custom template for my ModelForm. My ModelForm
contains several M2M fields. If I run the ModelForm.as_view and then
in my template print {{ form.as_p }} it'll automagically display those
choices.
Now what I want to do is take advantage of that magic and print out
those
7 matches
Mail list logo