Ruslan Korneev

Results 2 comments of Ruslan Korneev

Hey, @okapies 👋🏻 i just noticed that you're using `super().check_object_permissions(request, self.parent_obj)`. This will run every found object permission, which could be not only for parent object, i guess thats why...

## An example of using the code of the previous comment https://github.com/alanjds/drf-nested-routers/issues/73#issuecomment-1400474595 ```python # views class ModelViewSet(CustomNestedViewSetMixin, ModelViewSet): parent_queryset = ParentModel.objects.all() queryset = ChildModel.objects.all() parent_lookup_prefix = "parent" parent_lookup_field = "pk"...