Closed GoogleCodeExporter closed 9 years ago
Hum sure it should exist an easy way. Would check when I got some time.
Original comment by batiste....@gmail.com
on 16 Feb 2009 at 8:41
Original comment by batiste....@gmail.com
on 26 Feb 2009 at 12:21
The problem is that django's CsrfMiddleware needs a <form>-tag where it can
insert
the token. But with AJAX, POST-requests don't need any form tags and the
approach of
CsrfMiddleware fails. This is more a django bug than a page-cms bug. The good
news is
that it's fixed in django-trunk and the upcoming django 1.1 (the check is simply
disabled for AJAX request).
http://code.djangoproject.com/ticket/8127
http://code.djangoproject.com/changeset/9554
closing as WontFix, altough 'upstream' would perhaps be more fitting :)
Original comment by piquad...@gmail.com
on 26 Feb 2009 at 10:59
Original issue reported on code.google.com by
jzy...@gmail.com
on 14 Feb 2009 at 6:39