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">
  6 {% csrf_token %}
  7     <h1>Personal data</h1>
  8     <table >
  9     {% for field in form %}
 10     <tr>
 11         <td> {{ field.label }} </td> <td> {{ field }} </td> <td>
{{ field.errors }} </td>
 12     </tr>
 13     {% endfor %}
 14     <td></td> <td></td> <td><input type="submit" value="Submit" /
></td>
 15     </tr>
 16     </table>
 17 </form>
"

Any one haave some idea?

Thasnk a lot!,
Xavi

-- 
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