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 have to custom_endpoints with the same name. One for PUT and one for DELETE
I cannot fint a way to use custom_endpoints for this, because custom_endpoints sets the path/route and method to the same.
calling MyObject.cancellation will result in a delte request and I have not found a way of calling the put request.
There should be another param to differ between path and method name
Scenario:
I have to custom_endpoints with the same name. One for
PUT
and one forDELETE
I cannot fint a way to use custom_endpoints for this, because custom_endpoints sets the path/route and method to the same.
calling MyObject.cancellation will result in a delte request and I have not found a way of calling the put request.
There should be another param to differ between path and method name
allowing MyObject.cancel and MyObject.reactivate using the correct path and request_method.
The text was updated successfully, but these errors were encountered: