freebsd-ports/www/py-django-json-rpc/files/patch-site.py
William Grzybowski c70d11efa4 www/py-django-json-rpc: fix for django 1.6
- Fix for django 1.6 [1]
- Swtich from easy_install to install
- Support staging
- Use python auto plist

PR:		ports/185403 [1]
Submitted by:	maintainer
2014-01-02 11:27:14 +00:00

10 lines
328 B
Python

--- ./jsonrpc/site.py 2012-02-01 23:55:13.000000000 -0800
+++ ./jsonrpc/site.py 2014-01-01 18:30:42.956263864 -0800
@@ -210,7 +210,7 @@
raise RequestPostError
else:
try:
- D = loads(request.raw_post_data)
+ D = loads(request.body)
except:
raise InvalidRequestError