omething very
basic, but I just can't wrap my head around what.
So, I just need to link the descriptions (which get iterated and
displayed just fine) to the form fields that get displayed with them,
so I can write the responses to the db. I hope this isn't info
overkill.
Thanks in advance.
I am using create_update.create_object to handle my forms (generic
forms both use modelforms). I have two forms. The second relies on the
pk of the first as a fk. I can't figure out what is the best practice
to A: save the pk as a variable or into the session, then B: pull that
variable either out
Derek,
Cool, thanks for that. I wonder if something similar would work on
passing values to a formset...
Erich
On Jul 8, 1:17 am, derek wrote:
> On Jul 7, 12:44 am, Erich wrote:
>
> > I am using create_update.create_object to handle my forms (generic
> > forms both use model
I think what I was looking for was inlineformsets. Easy enough i
suppose. We'll see. Anyone interested, see here:
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-formsets
On Jun 16, 8:35 pm, Erich wrote:
> First time poster, so go easy on me...
>
> I need to
I think I found what I was looking for: inlineformsets.
Here:
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-formsets
On Jul 12, 1:56 pm, Erich wrote:
> Derek,
>
> Cool, thanks for that. I wonder if something similar would work on
> passing values to a formset.
Inline FormSets work great for somethings that I'm doing, but to solve
the problem that I had originally I passed a variable to the template
that i specified as a value in a hidden field. I don't know if that is
bad form or not, but it's working.
On Jul 13, 4:39 pm, Erich wro
6 matches
Mail list logo