diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-28 20:13:08 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-28 20:37:42 +0100 |
| commit | bbdf01e00aed1e86f6aaeba81065be21af35d415 (patch) | |
| tree | b4bc4b0ebf1bebaf4636c764f43ee48cd2686d7a /django/apps/base.py | |
| parent | 81a5e35c8d357051e558e6f0d1b6ff7a7523a537 (diff) | |
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.
Diffstat (limited to 'django/apps/base.py')
| -rw-r--r-- | django/apps/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 '<AppConfig: %s>' % self.label + return '<%s: %s>' % (self.__class__.__name__, self.label) @classmethod def create(cls, entry): |
