MCPcopy
hub / github.com/django/django / ready

Method ready

django/contrib/contenttypes/apps.py:18–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 verbose_name = _("Content Types")
17
18 def ready(self):
19 pre_migrate.connect(inject_rename_contenttypes_operations, sender=self)
20 post_migrate.connect(create_contenttypes)
21 checks.register(check_generic_foreign_keys, checks.Tags.models)
22 checks.register(check_model_name_lengths, checks.Tags.models)

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
registerMethod · 0.45

Tested by

no test coverage detected