title: Django model viewset built-in delete method does not work
body: <p>I have model viewset that I did not override it:</p>
  <pre><code>class RolesAndPermissionsViewSet(ModelViewSet):
  
      queryset = RoleModel.objects.all()
      serializer_class = RoleSerializer
  </code></pre>
  <p>the urls:</p>
  <pre><code>router = routers.DefaultRouter()
  
  router.register(r'role', RolesAndPermissionsViewSet, basename='roles_and_permissions')
  
  urlpatterns = [] + router.urls
  </code></pre>
  <p>serializer:</p>
  <pre><code>class RoleSerializer(serializers.ModelSerializer):
      permissions = RequestPermissionSerializer(many=True)
  
      class Meta:
          model = Role
          fields = (
              "id",
              "name",
              "permissions",
          )
  
      def create(self, validated_data):
          permissions = validated_data.pop('permissions', [])
          print(permissions)
          role = super(RoleSerializer, self).create(validated_data)
          for permission in permissions:
              role.permissions.add(Permission.objects.get(id=permission['id']))
          return role
  </code></pre>
  <p>and in the postman:
  <a href="https://i.stack.imgur.com/9L6MH.png" rel="nofollow noreferrer">response</a></p>
  <p>but it doesn't delete the row from my django admin.</p>
  <p>Thank you for your help</p>