Thanks Tom & C. Kirby for the suggestions. Pulling data off of .instance
seems to work fine and is exactly what I'm looking for.
Regards,
Jim
On Tuesday, March 12, 2013 9:28:23 AM UTC-7, Tom Evans wrote:
>
> On Tue, Mar 12, 2013 at 2:24 PM, Jim Kalafut
> wrote:
> > Hi,
On Tue, Mar 12, 2013 at 2:24 PM, Jim Kalafut wrote:
> Hi,
>
> I often want to use a ModelFormset by showing some editable fields, and then
> showing some static data that is from the related model instance. For
> example, I want to bulk edit a group of Person object phone
I generally do the same thing as you do Jim, it is normally the easiest.
There are ways to get the bound value from the form both in the ModelForm
Class and in the template (as a template tag).
It is easier to do it as a template tag, but you can't use form.as_p, you
need to hit each form
Hi,
I often want to use a ModelFormset by showing some editable fields, and
then showing some static data that is from the related model instance. For
example, I want to bulk edit a group of Person object phone numbers and
email address, but I'd also like to show (not edit) the person's name
4 matches
Mail list logo