mirror of https://github.com/django/django.git
Fixed typo in error message.
This commit is contained in:
parent
38be3cf5e4
commit
06bd181f97
|
@ -783,7 +783,7 @@ class ModelAdminChecks(BaseModelAdminChecks):
|
|||
elif not field.editable:
|
||||
return [
|
||||
checks.Error(
|
||||
'"%s" refers to field "%s", whih is not editable through the admin.' % (
|
||||
'"%s" refers to field "%s", which is not editable through the admin.' % (
|
||||
label, field_name
|
||||
),
|
||||
hint=None,
|
||||
|
|
|
@ -64,7 +64,7 @@ class SystemChecksTestCase(TestCase):
|
|||
expected = [
|
||||
checks.Error(
|
||||
('"list_editable[0]" refers to field "original_release", '
|
||||
'whih is not editable through the admin.'),
|
||||
'which is not editable through the admin.'),
|
||||
hint=None,
|
||||
obj=SongAdmin,
|
||||
id='admin.E126',
|
||||
|
|
Loading…
Reference in New Issue