1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.8.x] Refs #23621 -- Fixed warning message when reloading models.

Backport of aabb58428b from master
This commit is contained in:
Marten Kenbeek
2015-06-30 20:38:07 +02:00
committed by Tim Graham
parent fdaf9359ab
commit 42aa919de9
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ class AppsTests(TestCase):
self.assertEqual(len(w), 1)
self.assertTrue(issubclass(w[-1].category, RuntimeWarning))
self.assertEqual(str(w[-1].message),
"Model 'southponies.apps' was already registered. "
"Model 'apps.southponies' was already registered. "
"Reloading models is not advised as it can lead to inconsistencies, "
"most notably with related models.")