summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/base.py')
-rw-r--r--django/db/models/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py
index 7655f35160..e1a94d34d1 100644
--- a/django/db/models/base.py
+++ b/django/db/models/base.py
@@ -98,9 +98,9 @@ class ModelBase(type):
if not abstract:
raise RuntimeError(
"Model class %s.%s doesn't declare an explicit "
- "app_label and either isn't in an application in "
- "INSTALLED_APPS or else was imported before its "
- "application was loaded. " % (module, name))
+ "app_label and isn't in an application in "
+ "INSTALLED_APPS." % (module, name)
+ )
else:
app_label = app_config.label