MCPcopy
hub / github.com/django/django / handle

Method handle

django/core/management/commands/showmigrations.py:57–67  ·  view source on GitHub ↗
(self, *args, **options)

Source from the content-addressed store, hash-verified

55 parser.set_defaults(format="list")
56
57 def handle(self, *args, **options):
58 self.verbosity = options["verbosity"]
59
60 # Get the database we're operating from
61 db = options["database"]
62 connection = connections[db]
63
64 if options["format"] == "plan":
65 return self.show_plan(connection, options["app_label"])
66 else:
67 return self.show_list(connection, options["app_label"])
68
69 def _validate_app_names(self, loader, app_names):
70 has_bad_names = False

Callers

nothing calls this directly

Calls 2

show_planMethod · 0.95
show_listMethod · 0.95

Tested by

no test coverage detected