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:44:58 -0500
commit692d05589061a593d4bfbdb2895eaef0386eca34 (patch)
tree64d741a03bb92f54313f3ebbef612429863c705e /tests
parenta53175392ff753cc53a4a2d33a5852d113e67363 (diff)
Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().
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 7d7df4486a..ced896987b 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -73,8 +73,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',