On Feb 16, 10:11 am, Doug B <[EMAIL PROTECTED]> wrote:
> I'd suggest doing a repr on request.POST and seeing exactly what is
> being posted.  


Ok, I added  logging.debug(repr(request.POST)) and got this:

DEBUG:root:<QueryDict: {u'data':
[u'sortedriders[]=22&sortedriders[]=21&sortedriders[]=24&sortedriders[]=25&sortedriders[]=23&sortedriders[]=26&sortedriders[]=27&sortedriders[]=28&sortedriders[]=29&sortedriders[]=30&sortedriders[]=31&sortedriders[]=32&sortedriders[]=33&sortedriders[]=34&sortedriders[]=35&sortedriders[]=36&sortedriders[]=37']}>


Using firebug, I can see the post data is:

data=sortedriders%5B%5D%3D22%26sortedriders%5B%5D%3D21%26sortedriders
%5B%5D%3D24%26sortedriders%5B%5D
%3D25%26sortedriders%5B%5D%3D23%26sortedriders%5B%5D
%3D26%26sortedriders%5B%5D%3D27%26sortedriders%5B
%5D%3D28%26sortedriders%5B%5D%3D29%26sortedriders%5B%5D
%3D30%26sortedriders%5B%5D%3D31%26sortedriders
%5B%5D%3D32%26sortedriders%5B%5D%3D33%26sortedriders%5B%5D
%3D34%26sortedriders%5B%5D%3D35%26sortedriders%5B%5D
%3D36%26sortedriders%5B%5D%3D37


If I run that through unquote manually, I get:

Out[95]:
'data=sortedriders[]=22&sortedriders[]=21&sortedriders[]=24&sortedriders[]=25&sortedriders[]=23&sortedriders[]=26&sortedriders[]=27&sortedriders[]=28&sortedriders[]=29&sortedriders[]=30&sortedriders[]=31&sortedriders[]=32&sortedriders[]=33&sortedriders[]=34&sortedriders[]=35&sortedriders[]=36&sortedriders[]=37'



It seems the same on both ends.



>Your use of getlist usage looks ok, so I'd guess
> something is happening on the javascript side.


Oh man, that's what I'm afraid of. I know even less about
javascript. :)
--~--~---------~--~----~------------~-------~--~----~
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