Ticket #7198: 7198.diff
File 7198.diff, 587 bytes (added by , 13 years ago) |
---|
-
django/db/models/loading.py
diff --git a/django/db/models/loading.py b/django/db/models/loading.py index 03cdcc2..8d673c4 100644
a b class AppCache(object): 146 146 if mod is None: 147 147 if emptyOK: 148 148 return None 149 raise ImproperlyConfigured("App with label %s is missing a models.py module.") 149 150 else: 150 151 return mod 151 152 raise ImproperlyConfigured("App with label %s could not be found" % app_label)