ReleaseNoteViewSet
Overview
Full CRUD ViewSet for VUEDA models. Extends DRF's ModelViewSet with:
- Flex-fields expansion (
FlexFieldsMixin) - Query-parameter validation against filter and serializer fields (
NoExtraFieldsForViewSetMixin) - Row-level and workflow-aware list filtering (
ListRowLevelViewSetMixin) - Bulk delete with dry-run support
- Override
destroy_validationto add pre-delete business rules. - Override
get_warnings_for_object(fromWarningConfirmationMixin) to gate single and bulkdestroy(andactivate/deactivatewhenDeactivateActionViewSetMixinis mixed in) behind a 409 confirmation with the same rule for both; overrideget_warningsinstead if bulk needs its own logic.
basename
description
detail
filterset_class
name
ordering_fields
permission_classes
queryset
search_fields
serializer_class
suffix
Source
server/vueda/release/viewsets.py:12