I have a newform form. It has data bound to it. But it may be invalid. I want to get the data bound to each of its field. How can I do this? I can not use form.cleaned_data because that would work only when the form was valid. If I try for name, value in form.fields.iteritems(): print name, value
This prints <name_of_field>, <FieldType of field> while I want the values. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---