0

I know there is in the development version of Django, but I don't see this in Django 1.0. I took a look of the code and such an exception is definitely not built in. I need to have this ability as I can't add the csrf middleware token to a third party flash app I am using which needs to make a POST request back to django. :(

Anyone have any ideas?

4

1 回答 1

0

这个问题的答案是简单地使用中间件重新创建令牌并将其添加到视图中,然后使其在 JavaScript/Flash 模板中可访问。

于 2009-11-18T20:50:42.600 回答