summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests/test_models.py
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2018-05-03 15:28:37 +0200
committerGitHub <noreply@github.com>2018-05-03 15:28:37 +0200
commit21fd8041c163eafc0a6bfad0efc8e98693580622 (patch)
tree133274cf3d7c4ab76e2eee837a77026d96c84184 /tests/invalid_models_tests/test_models.py
parent816b8d9518c41f034dcbacfd1f1826f2366975e5 (diff)
Refs #29358 -- Corrected wording in primary key check message.
Diffstat (limited to 'tests/invalid_models_tests/test_models.py')
-rw-r--r--tests/invalid_models_tests/test_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/invalid_models_tests/test_models.py b/tests/invalid_models_tests/test_models.py
index 2066d4ebae..19ec21c9ae 100644
--- a/tests/invalid_models_tests/test_models.py
+++ b/tests/invalid_models_tests/test_models.py
@@ -724,7 +724,7 @@ class OtherModelTests(SimpleTestCase):
self.assertEqual(Model.check(), [
Error(
- "Model can not contain more than one 'primary_key' field.",
+ "The model cannot have more than one field with 'primary_key=True'.",
obj=Model,
id='models.E026',
)