Found answer here:
http://groups.google.com/group/django-users/browse_thread/thread/99f6fa5ce32dd824/460a1c563a3a851b?lnk=gst&q=template+form+values#460a1c563a3a851b

form.data.fieldname (this is pre-cleaned bound data)  ---> Did not
work
form.cleaned_data.fieldname (post clean if valid) ---> Didn't apply so
I didn't try it
form.initial.fieldname (values set for initial) ---> WORKED!!! Thank
you Doug B

On Dec 12, 12:47 pm, Paul Childs <pchi...@gmail.com> wrote:
> I am converting from .96 to 1.0.
>
> In a template using 0.96, if I wanted to get the value that a
> particular field was holding I would use:
> {{ form.data.field_name }}
>
> This doesn't work anymore and is breaking my code.
>
> I have tried a number of other ways (guessing mostly), consulted the
> docs and browsed the Django source and still can't figure it out.
>
> Can anyone help me out here?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to