Merge branch 'dev' into feature/ocr-templates

This commit is contained in:
shamoon committed 2026-10-20 16:16:31 -07:00
commit 8ab2bf63aa
31 files changed
+1114 -348

No files matched your search

+5
View File
@@ -504,6 +504,11 @@ class BulkPermissionMixin:
"""
context = super().get_serializer_context()
if getattr(self, "swagger_fake_view", False):
# Schema generation only needs the serializer shape; without a
# paginated page we'd otherwise scan the entire queryset below.
return context
if getattr(self, "action", None) != "list":
# Batching only pays off across a page of objects; for single-object
# actions (retrieve, update, ...) the per-object fallback in