Hi Nick,

I am trying to serialize the object and send it to the calling ajax
request

users = Userdata.objects.all()
HttpResponse(serializers.serialize('json', users),
mimetype='application/json')

in the javascript code, I do not get the user object to call
u.username.

I guess it wont work that way. Is there any alternate method.

thanks
   ashy

-- 
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