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 <QueryDict: {u'elems': [u'2', u'1']}>. > 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 > > > > > >
-- ------------------------------------------------------------------- Tomás Garzón Hervás Director de Desarrollo y Calidad IACTIVE Intelligent Solutions, S.L. -- Teléfono Móvil: 646760508 -- Bussines & Innovation Center (BIC) Parque tecnológico de ciencias de la salud Avd. de la innovación 1 C.P. 18100 Armilla (Granada) ------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---