Ticket #13323: applabel.diff
File applabel.diff, 589 bytes (added by , 15 years ago) |
---|
-
django/db/models/loading.py
diff --git a/django/db/models/loading.py b/django/db/models/loading.py index 3151b8a..c6b6583 100644
a b class AppCache(object): 116 116 self.write_lock.acquire() 117 117 try: 118 118 for app_name in settings.INSTALLED_APPS: 119 if app_label == app_name.split('.')[-1] :119 if app_label == app_name.split('.')[-1] or app_label == app_name: 120 120 mod = self.load_app(app_name, False) 121 121 if mod is None: 122 122 if emptyOK: