HttpRequest.raw_post_data was deprecated in Django 1.4

Backport of PR #567 to 0.9.x
(simple cherry-pick)