> form = newFenceForm(initial={'auth_id' : auth_id})
Awesome. That was exactly what I needed - thanks very much.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
On Tue, 2008-11-25 at 18:03 -0800, ChrisK wrote:
> OK, thanks for your suggestions (and yes, I meant "POST").
>
> The problem now appears to be how I initialize the form's value of
> auth_id!
Oh, right. I missed that error initially. Yes, you're doing it
incorrectly. The first positional
OK, thanks for your suggestions (and yes, I meant "POST").
The problem now appears to be how I initialize the form's value of
auth_id! If I use just
{{form.as_p}}
in my template, I get the following html:
(Hidden field auth_id) This field is
required.
This field is required.
Teaser:
This
On Tue, 2008-11-25 at 15:06 -0800, ChrisK wrote:
> I'm just not getting this. I've looked at many examples and can't seem
> to pass a hidden value into a form.
>
> The problem is that I initially get to the form with GET, and then
> instantiate the form with PUT. The key that I need is part of
On Nov 25, 6:24 pm, ChrisK <[EMAIL PROTECTED]> wrote:
> > Well..you aren't passing auth_id to the template, you are passing
> > form. auth_id is a field inside your template. Can you post your
> > template?
>
> Oh, sorry - my oversight. Template is
>
>
> id="id_auth_id" />
> Reminder String:
>
> Well..you aren't passing auth_id to the template, you are passing
> form. auth_id is a field inside your template. Can you post your
> template?
Oh, sorry - my oversight. Template is
Reminder String:
URL of document:
Address of interest:
Range (in meters):
I guess I'm
On Nov 25, 5:06 pm, ChrisK <[EMAIL PROTECTED]> wrote:
> I'm just not getting this. I've looked at many examples and can't seem
> to pass a hidden value into a form.
>
> The problem is that I initially get to the form with GET, and then
> instantiate the form with PUT. The key that I need is part
I'm just not getting this. I've looked at many examples and can't seem
to pass a hidden value into a form.
The problem is that I initially get to the form with GET, and then
instantiate the form with PUT. The key that I need is part of the
original URL, and I'm trying to push it down into the
8 matches
Mail list logo