Default POST request method fails,

Issue #127 new
created an issue

Default POST request method always fails, with error



Traceback (most recent call last):

File "/home/seba/.virtualenvs/django_remote/lib/python2.6/site-packages/django_piston-0.2.3rc1-py2.6.egg/piston/", line 100, in create attrs = self.flatten_dict(

File "/home/seba/.virtualenvs/django_remote/lib/python2.6/site-packages/django_piston-0.2.3rc1-py2.6.egg/piston/", line 56, in flatten_dict return dict([ (str(k), dct.get(k)) for k in dct.keys() ])

AttributeError: 'NoneType' object has no attribute 'keys'


Check attachment. I'm not a Django expert but this small change worked for me.

Comments (1)

  1. Log in to comment