summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVarun Sharma <varunsharmalive@gmail.com>2015-12-24 23:58:32 +0530
committerTim Graham <timograham@gmail.com>2015-12-24 16:45:38 -0500
commitdc1ef0ff2e4f7d6e5bef1a5ae4223cbea90044db (patch)
treeea3428e8f44ad19601db6311923b60dda1c875e1 /tests
parent85159b98196e129e6ad493b503f3b49012c280ff (diff)
[1.9.x] Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().
Backport of 692d05589061a593d4bfbdb2895eaef0386eca34 from master
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index f9c06b0a9c..e5f2bdedbf 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -76,8 +76,7 @@ ALWAYS_MIDDLEWARE_CLASSES = [
# Need to add the associated contrib app to INSTALLED_APPS in some cases to
# avoid "RuntimeError: Model class X 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."
+# and isn't in an application in INSTALLED_APPS."
CONTRIB_TESTS_TO_APPS = {
'flatpages_tests': 'django.contrib.flatpages',
'redirects_tests': 'django.contrib.redirects',