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')
--~--~-~--~~--
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.
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
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
--~--~-~--~~---
4 matches
Mail list logo