From 692d05589061a593d4bfbdb2895eaef0386eca34 Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Thu, 24 Dec 2015 23:58:32 +0530 Subject: Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__(). --- 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 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', -- cgit v1.3