MCPcopy
hub / github.com/django/django / validate_consistency

Method validate_consistency

django/db/migrations/graph.py:198–200  ·  view source on GitHub ↗

Ensure there are no dummy nodes remaining in the graph.

(self)

Source from the content-addressed store, hash-verified

196 # assume the replaced nodes already have the correct ancestry.
197
198 def validate_consistency(self):
199 """Ensure there are no dummy nodes remaining in the graph."""
200 [n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
201
202 def forwards_plan(self, target):
203 """

Calls 2

raise_errorMethod · 0.80
valuesMethod · 0.45