> Hi,
>
> I am using Django 1.3.1, and I have a strange behavior problem, all
> the different fields submitted are going as value of the first field.
> Here is the http header (print request):
> "
> <WSGIRequest
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'name':
> [u'surName1=surName2=dni=birthDate=28/02/2012address=postalCode=locality=province=country=telf=email=mail@mail.orgjob=
> \r\nsurName1=\r\nsurName2=\r\ndni=\r\nbirthDate=\r\naddress=\r
> \npostalCode=\r\nlocality=\r\nprovince=\r\ncountry=\r\ntelf=\r\nemail=
> \r\njob=']}>,
> COOKIES:......."
>
> The template which renders the form is this:
> "
> 5 <form action="/accounts/profile/" method="post" enctype="text/
> plain" autocomplete="off">
You asked for text/plain encoding, and got it. Forms are submitted
with enctype "application/x-www-form-urlencoded" (the default) or
"multipart/form-data" (if sending files).
Cheers
Tom
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment