On 12 nov, 21:44, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
> If I publishhttp://someurl/myview?foo=1&foo=2&foo=3
>
> How do I turn this into foo = ['1','2','3']?

foo = request.GET.getlist('foo')

http://docs.djangoproject.com/en/dev/ref/request-response/#querydict-objects
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to