MCPcopy
hub / github.com/django/django / get_migration

Method get_migration

django/db/migrations/loader.py:142–144  ·  view source on GitHub ↗

Return the named migration or raise NodeNotFoundError.

(self, app_label, name_prefix)

Source from the content-addressed store, hash-verified

140 )
141
142 def get_migration(self, app_label, name_prefix):
143 """Return the named migration or raise NodeNotFoundError."""
144 return self.graph.nodes[app_label, name_prefix]
145
146 def get_migration_by_prefix(self, app_label, name_prefix):
147 """

Callers 4

handleMethod · 0.95
handle_mergeMethod · 0.80
test_custom_userMethod · 0.80

Calls

no outgoing calls