summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/admin/checks.py2
-rw-r--r--tests/admin_checks/tests.py2
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',