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:
|
elif not field.editable:
|
||||||
return [
|
return [
|
||||||
checks.Error(
|
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
|
label, field_name
|
||||||
),
|
),
|
||||||
hint=None,
|
hint=None,
|
||||||
|
|
|
@ -64,7 +64,7 @@ class SystemChecksTestCase(TestCase):
|
||||||
expected = [
|
expected = [
|
||||||
checks.Error(
|
checks.Error(
|
||||||
('"list_editable[0]" refers to field "original_release", '
|
('"list_editable[0]" refers to field "original_release", '
|
||||||
'whih is not editable through the admin.'),
|
'which is not editable through the admin.'),
|
||||||
hint=None,
|
hint=None,
|
||||||
obj=SongAdmin,
|
obj=SongAdmin,
|
||||||
id='admin.E126',
|
id='admin.E126',
|
||||||
|
|
Loading…
Reference in New Issue