views:

63

answers:

1

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?

A: 

The answer to this problem is simply recreate the token using the middleware and add it into the view and then making it accessible in the template for JavaScript/Flash.

apphacker