> def post_handler(request):
>     post_text = request.POST.getlist('data')
>     user = User.objects.get(id=2) # for debugging purposes
>     for x in range( len(post_text)-1 ):
>         name = post_text[x]
>         panel =
> user.panels_set.get(name__istartswith=name,side="left")
>         panel.order = x
>         panel.save()

What 'print post_text' shows?

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