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'm trying to use a ViewSet from adrf, but the 'get' handler is being mapped to the (non-async) 'retrieve' method from the non-adrf viewset mixin. Likewise for the other handlers. I'm curious why the coroutines 'aretrieve', 'adelete', etc. were added instead of overriding the existing 'retrieve', 'delete', etc. methods. That way a SimpleRouter should be able to find them (without the user needing to provide a mapping to viewset.as_view()). Am I missing something? Thanks so much for this project, btw!
The text was updated successfully, but these errors were encountered:
Even I faced this issue. I was trying to override 'aretrieve' method in viewset and was not working at all, then I found that it is mapped to sync version 'retrieve' instead of 'aretrieve'.
I'm trying to use a ViewSet from adrf, but the 'get' handler is being mapped to the (non-async) 'retrieve' method from the non-adrf viewset mixin. Likewise for the other handlers. I'm curious why the coroutines 'aretrieve', 'adelete', etc. were added instead of overriding the existing 'retrieve', 'delete', etc. methods. That way a SimpleRouter should be able to find them (without the user needing to provide a mapping to viewset.as_view()). Am I missing something? Thanks so much for this project, btw!
The text was updated successfully, but these errors were encountered: