Ticket #7198: sql_proper_err_msg.diff
File sql_proper_err_msg.diff, 598 bytes (added by , 13 years ago) |
---|
-
django/db/models/loading.py
147 147 if mod is None: 148 148 if emptyOK: 149 149 return None 150 raise ImproperlyConfigured("App with label %s hasn't models.py module" % app_label) 150 151 else: 151 152 return mod 152 153 raise ImproperlyConfigured("App with label %s could not be found" % app_label)