From 1d4c52c8bf62cc912e5099e86ff229b69ce9d227 Mon Sep 17 00:00:00 2001 From: SnippyCodes Date: Sat, 31 Jan 2026 13:43:17 +0530 Subject: Fixed #36893 -- Serialized elidable kwarg for RunSQL and RunPython operations. --- django/db/migrations/operations/special.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'django') diff --git a/django/db/migrations/operations/special.py b/django/db/migrations/operations/special.py index 0700023325..311271483e 100644 --- a/django/db/migrations/operations/special.py +++ b/django/db/migrations/operations/special.py @@ -93,6 +93,8 @@ class RunSQL(Operation): kwargs["state_operations"] = self.state_operations if self.hints: kwargs["hints"] = self.hints + if self.elidable: + kwargs["elidable"] = self.elidable return (self.__class__.__qualname__, [], kwargs) @property @@ -173,6 +175,8 @@ class RunPython(Operation): kwargs["atomic"] = self.atomic if self.hints: kwargs["hints"] = self.hints + if self.elidable: + kwargs["elidable"] = self.elidable return (self.__class__.__qualname__, [], kwargs) @property -- cgit v1.3