Skip to content

ReleaseNoteViewSet ​

Overview ​

Full CRUD ViewSet for VUEDA models. Extends DRF's ModelViewSet with:

  • Multipart saves that carry JSON values and nested files (NestedMultipartMixin)
  • 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_validation to add pre-delete business rules.
  • Override get_warnings_for_object (from WarningConfirmationMixin) to gate single and bulk destroy (and activate/deactivate when DeactivateActionViewSetMixin is mixed in) behind a 409 confirmation with the same rule for both; override get_warnings instead if bulk needs its own logic.

basename ​

description ​

detail ​

filterset_class ​

name ​

ordering_fields ​

permission_classes ​

queryset ​

search_fields ​

serializer_class ​

suffix ​

workflow_object_permission_actions ​

Source ​

server/vueda/release/viewsets.py:12