Intermingling applications

2013-01-15 Thread Travis J
Hi, I have an annoying problem I've inherited that I'm trying to clean up. I'm looking for advice on the best way to clean it up. We have a Django web app. It is essentially a view in a running log (call it *reader*) from a database. The db log is populated by an event queue (call it *writer

Re: CSRFmiddlewaretoken issue ?

2013-01-15 Thread Travis J
{% csrf_token %} introduces a hidden field into your form that will be posted. Second, request.raw_post_data is going to be form-encoded, so it will look like "csrf_token=adsjadsf&body=" (generally you would only use raw_post_data for binary files and the like). To get it working quickly, use