From efcb7e1ebf2b852a442d00a31634438359eb4039 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 30 Sep 2016 21:08:35 +0200 Subject: Modified readiness check in AppConfig.get_model(s). It was inconsistent with the equivalent check in Apps.get_model(s) because I made incorrect assumptions when I wrote that code and needlessly complicated readiness checks. This is a backwards-incompatible change. --- django/apps/registry.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/apps/registry.py') diff --git a/django/apps/registry.py b/django/apps/registry.py index 8a45830ccf..91d6d5ccef 100644 --- a/django/apps/registry.py +++ b/django/apps/registry.py @@ -89,6 +89,7 @@ class Apps(object): "duplicates: %s" % app_config.label) self.app_configs[app_config.label] = app_config + app_config.apps = self # Check for duplicate app names. counts = Counter( -- cgit v1.3