In the latest docs (0.16.1-dev) it clearly states that:
Changed in version 0.16.0: Replaced DELETE with DELETE_MANY and DELETE_SINGLE.
However, when I insert a pre- or post-processor to DELETE_SINGLE nothing is happening, either before the request or after. When I looked in the tests for 0.16.0 (granted, this is not the latest but the docs says 0.16.0 and the latest official release is 0.16.0) it tests against DELETE and not DELETE_SINGLE
Line 217 in tests/test_processors.py:
pre = dict(DELETE=[check_permissions])
This should be changed to DELETE_SINGLE to correlate with the documents, or the document should change from DELETE_SINGLE to DELETE.
The text was updated successfully, but these errors were encountered:
The code handling HTTP DELETE requests had not been updated to handle
DELETE_SINGLE requests as described by the documentation (as introduced
in 5e84c00). Now the `delete()` method
in `views.py` correctly checks for DELETE_SINGLE preprocessors instead
of DELETE preprocessors.
Fixes issue #398.