Fixed typo in error message.

This commit is contained in:
Arne Brodowski 2014-01-24 14:41:54 +01:00 committed by Baptiste Mispelon
parent 38be3cf5e4
commit 06bd181f97
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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',