diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-05-03 15:28:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-03 15:28:37 +0200 |
| commit | 21fd8041c163eafc0a6bfad0efc8e98693580622 (patch) | |
| tree | 133274cf3d7c4ab76e2eee837a77026d96c84184 /tests/invalid_models_tests/test_models.py | |
| parent | 816b8d9518c41f034dcbacfd1f1826f2366975e5 (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.py | 2 |
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', ) |
