Re: csrf token driving me crazy

2011-06-22 Thread Kevin Renskers
The documentation about CSRF and AJAX was already linked: https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax The note about backwards incompatibility can be found here: https://docs.djangoproject.com/en/1.3/releases/1.3/#csrf-validation-now-applies-to-ajax-requests -- You received t

Re: csrf token driving me crazy

2011-06-21 Thread Divkis
Is there no one who has had similar problem with django1.3? Could anyone please help me on this? I have almost hit a dead on this one. Thanks & Regards, Divkis01 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: csrf token driving me crazy

2011-06-21 Thread Divkis
On Jun 21, 4:54 pm, Daniel Roseman wrote: > On Tuesday, 21 June 2011 12:17:26 UTC+1, Divkis wrote: > > > Hi all, > >           I am facing some really weird issue with csrf token handling > > in django 1.3. Until now I was using 1.2 and my views were working > > fine with ajax post requests by s

Re: csrf token driving me crazy

2011-06-21 Thread Daniel Roseman
On Tuesday, 21 June 2011 12:17:26 UTC+1, Divkis wrote: > > Hi all, > I am facing some really weird issue with csrf token handling > in django 1.3. Until now I was using 1.2 and my views were working > fine with ajax post requests by setting the X-CSRFToken. I upgraded to > django1.3