Friday, September 3, 2010

Re: customize url for GET form

2010/9/3 Alexandre González <agonzalezro@gmail.com>:
> I think that if you use id=1&id=2&id=3 you are overriding the id value...
> It's no way to do that with GET
>

Au contraire:

>>> from django.http import QueryDict
>>> QueryDict('id=1&id=2&id=3')
<QueryDict: {u'id': [u'1', u'2', u'3']}>


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