Re: Problem with Querydict

2008-05-20 Thread Matthias Kestenholz
On Tue, 2008-05-20 at 03:31 -0700, mwebs wrote: > Sorry, but this does not work. Maybe I am doing some mistakes. > Could you please post me a snippet? > http://www.djangoproject.com/documentation/request_response/#querydict-objects request.POST.getlist('elems') --~--~-~--~~--

Re: Problem with Querydict

2008-05-20 Thread mwebs
Sorry, but this does not work. Maybe I am doing some mistakes. Could you please post me a snippet? On 20 Mai, 12:18, Tomás Garzón Hervás <[EMAIL PROTECTED]> wrote: > Hi, you must use get_list function on QueryDict > > mwebs escribió: > > > > > Hello, > > > I am sending JSON to the serverbackend.

Re: Problem with Querydict

2008-05-20 Thread Tomás Garzón Hervás
Hi, you must use get_list function on QueryDict mwebs escribió: > Hello, > > I am sending JSON to the serverbackend. > When I print reuqest.POST I get . > Thats exactly what I was expecting. > > But now I want to access the 'elems'. When I do request.POST['elems'] > I get'1'. > But I was expe

Problem with Querydict

2008-05-20 Thread mwebs
Hello, I am sending JSON to the serverbackend. When I print reuqest.POST I get . Thats exactly what I was expecting. But now I want to access the 'elems'. When I do request.POST['elems'] I get'1'. But I was expecting getting 2, 1. Thanks for your help. Toni --~--~-~--~~---