mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #29358 -- Corrected wording in primary key check message.
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user