|
27 | 27 |
|
28 | 28 |
|
29 | 29 | from .filters import BuildFilter, ProjectFilter, VersionFilter
|
30 |
| -from .mixins import ProjectQuerySetMixin, UpdatePartialUpdateMixin |
| 30 | +from .mixins import ProjectQuerySetMixin, UpdateMixin |
31 | 31 | from .permissions import PublicDetailPrivateListing, IsProjectAdmin
|
32 | 32 | from .renderers import AlphabeticalSortedJSONRenderer
|
33 | 33 | from .serializers import (
|
@@ -74,7 +74,7 @@ class APIv3Settings:
|
74 | 74 |
|
75 | 75 | class ProjectsViewSet(APIv3Settings, NestedViewSetMixin, ProjectQuerySetMixin,
|
76 | 76 | FlexFieldsMixin, ProjectImportMixin, CreateModelMixin,
|
77 |
| - UpdatePartialUpdateMixin, UpdateModelMixin, |
| 77 | + UpdateMixin, UpdateModelMixin, |
78 | 78 | ReadOnlyModelViewSet):
|
79 | 79 |
|
80 | 80 | # Markdown docstring is automatically rendered by BrowsableAPIRenderer.
|
@@ -276,7 +276,7 @@ class TranslationRelationshipViewSet(APIv3Settings, NestedViewSetMixin,
|
276 | 276 | # of ``ProjectQuerySetMixin`` to make calling ``super().get_queryset()`` work
|
277 | 277 | # properly and filter nested dependencies
|
278 | 278 | class VersionsViewSet(APIv3Settings, NestedViewSetMixin, ProjectQuerySetMixin,
|
279 |
| - FlexFieldsMixin, UpdatePartialUpdateMixin, |
| 279 | + FlexFieldsMixin, UpdateMixin, |
280 | 280 | UpdateModelMixin, ReadOnlyModelViewSet):
|
281 | 281 |
|
282 | 282 | model = Version
|
|
0 commit comments