You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'am getting an AssertionError on DELETE calls. Looks like tastypie-mongoengine expects that delete requests has no request.body. This stack overflow discussion sugests that this is not mandatory.
I'm using restangular, so I managed to avoid the error by means of this comment, but I suppose it worth to register...
If I use 'pure tastypie' (with sqlite) the same DELETE requests work (I've just test it to be sure)
The stacktrace is:
File ".../lib/python2.7/site-packages/tastypie_mongoengine/resources.py", line 428, in dispatch
assert the_method in ('put', 'post', 'patch'), the_method + ":" + request.body
The text was updated successfully, but these errors were encountered:
I'am getting an AssertionError on DELETE calls. Looks like tastypie-mongoengine expects that delete requests has no request.body. This stack overflow discussion sugests that this is not mandatory.
I'm using restangular, so I managed to avoid the error by means of this comment, but I suppose it worth to register...
If I use 'pure tastypie' (with sqlite) the same DELETE requests work (I've just test it to be sure)
The stacktrace is:
File ".../lib/python2.7/site-packages/tastypie_mongoengine/resources.py", line 428, in dispatch
assert the_method in ('put', 'post', 'patch'), the_method + ":" + request.body
The text was updated successfully, but these errors were encountered: