...
from drf_problems.mixins import AllowPermissionWithExceptionViewMixin
from drf_problems.permissions import MinimumVersionRequiredPermission
class UserDetailView(AllowPermissionWithExceptionViewMixin, generics.RetrieveAPIView):
permission_classes = (
MinimumVersionRequiredPermission('0.8.9'),
)
...
view raw Sample View class hosted with ❤ by GitHub