ok sorry if I used a bad example with id..
I meant something like:
xxxxxx?bla=1,2,3,4

I got it working by using a special field ('bla') in my form which is
a CharField
then I parse bla:
arr = request.GET.get('bla').split(',')
if all items of arr are integers, I have my array of 'bla' =)

cheers,
_y


On Sep 3, 3:55 pm, Alexandre González <agonzale...@gmail.com> wrote:
> Wel... but to do this, you must to catch the url and get from it... but
> really, with urls.py can you do that?
>
> Perhaps, with a regex line in urls.py as:
>
> (^\d+)?(/\d+)*/?$ you can get all the number style:http://url/1/2/3/4/5...
> but I don't know how do it exactly.
>
>
>
> On Fri, Sep 3, 2010 at 15:46, Tom Evans <tevans...@googlemail.com> wrote:
> > 2010/9/3 Alexandre González <agonzale...@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-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
>
> --
> Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
> and/or .pptx

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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