Changed django.conf.urls.defaults to django.conf.urls for compatibility

with django 1.6.
Renamed request.raw_post_data to request.body.