I got readystate = 4 but status = 500 2010/8/20 Emily Rodgers <emily.kate.rodg...@gmail.com>
> What goes wrong? > > On Aug 20, 10:34 am, Imad Elharoussi <imad.elharou...@gmail.com> > wrote: > > It's not the case for me !!! > > > > 2010/8/20 Emily Rodgers <emily.kate.rodg...@gmail.com> > > > > > On Aug 20, 10:01 am, Imad Elharoussi <imad.elharou...@gmail.com> > > > wrote: > > > > Hello > > > > > > How can we return an object in a json format? > > > > > > it is like this : > > > > > > return HttpResponse(simplejson.dumps(ihmAgentRoot), > > > > mimetype='application/json') > > > > > > or do we need an other thing? > > > > > > thank you > > > > > That is what I do and it works. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Django users" group. > > > To post to this group, send email to django-us...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.