From bbdf01e00aed1e86f6aaeba81065be21af35d415 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 28 Dec 2013 20:13:08 +0100 Subject: Populated non-master app registries. This removes the gap between the master app registry and ad-hoc app registries created by the migration framework, specifically in terms of behavior of the get_model[s] methods. This commit contains a stealth feature that I'd rather not describe. --- django/apps/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/apps/base.py') diff --git a/django/apps/base.py b/django/apps/base.py index 40b72c9448..e0d637c96e 100644 --- a/django/apps/base.py +++ b/django/apps/base.py @@ -53,7 +53,7 @@ class AppConfig(object): self.models = None def __repr__(self): - return '' % self.label + return '<%s: %s>' % (self.__class__.__name__, self.label) @classmethod def create(cls, entry): -- cgit v1.3