em1208 / adrf

Async support for Django REST framework
Other
449 stars 25 forks source link

Make inheriting methods in ViewSet work #35

Closed xrmx closed 3 months ago

xrmx commented 6 months ago

I'm trying to build a quick POC but it currently fails because I'm inheriting the views methods from a Mixin. The fix would be something like #36, but it is still failing after teaching View.view_is_async (that comes from django) about viewsets methods. Any hint?

em1208 commented 3 months ago

@xrmx Please try the new release 0.1.7 which added support to generics mixins and viewset supports. There docs have been updated and there are tests you can look for reference.

xrmx commented 3 months ago

@em1208 Thanks, will take a look