From dc1ef0ff2e4f7d6e5bef1a5ae4223cbea90044db Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Thu, 24 Dec 2015 23:58:32 +0530 Subject: [1.9.x] Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__(). Backport of 692d05589061a593d4bfbdb2895eaef0386eca34 from master --- tests/runtests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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', -- cgit v1.3