From 06bd181f97e5e5561ae7e80efae4c38ee670773f Mon Sep 17 00:00:00 2001 From: Arne Brodowski Date: Fri, 24 Jan 2014 14:41:54 +0100 Subject: [PATCH] Fixed typo in error message. --- django/contrib/admin/checks.py | 2 +- 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',