Re: problem using ajax in django

2009-06-10 Thread newbie
@DR: Yeah...you are right and that is why even i was confused with the error. Finally i phrased out the problem and it was because i did not restart the server after making changes to the view. In development environment, it automatically done but when we deploy it on apache server, its not. So t

Re: problem using ajax in django

2009-06-10 Thread Daniel Roseman
On Jun 10, 10:50 am, newbie wrote: > Hi, > >          I have written a small javascript ajax code in my django > application. Its working fine in the development environment. But when > i use the same code in the same django application running on apache > and also on  a different url(if it matte

Re: problem using ajax in django

2009-06-10 Thread Adam Stein
Don't know if this will help, but when I use AJAX, I don't set the mimetype in HttpResponse(), I just pass simplejson.dumps() to HttpResponse(): return HttpResponse(simplejson.dumps(response)) This approach works with Firefox, IE6, & IE7. On Wed, 2009-06-10 at 02:50 -0700, newbie wrote:

problem using ajax in django

2009-06-10 Thread newbie
Hi, I have written a small javascript ajax code in my django application. Its working fine in the development environment. But when i use the same code in the same django application running on apache and also on a different url(if it matters), it is not working. I have tried using Fire