diff options
| author | Arne Brodowski <mail@arnebrodowski.de> | 2014-01-24 14:41:54 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-24 17:40:43 +0100 |
| commit | 06bd181f97e5e5561ae7e80efae4c38ee670773f (patch) | |
| tree | 17c1a515b7ce679d51c08581ac2225d751477c41 | |
| parent | 38be3cf5e4c4980b484e1013c2a4047725ba8d3e (diff) | |
Fixed typo in error message.
| -rw-r--r-- | django/contrib/admin/checks.py | 2 | ||||
| -rw-r--r-- | tests/admin_checks/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/checks.py b/django/contrib/admin/checks.py index f768374d54..855e916eaa 100644 --- a/django/contrib/admin/checks.py +++ b/django/contrib/admin/checks.py @@ -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, diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py index c0ce428e67..ba9faea03f 100644 --- a/tests/admin_checks/tests.py +++ b/tests/admin_checks/tests.py @@ -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', |
