Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo in error message.

  • Loading branch information...
commit 06bd181f97e5e5561ae7e80efae4c38ee670773f 1 parent 38be3cf
Arne Brodowski arneb authored bmispelon committed
Showing with 2 additions and 2 deletions.
  1. +1 −1  django/contrib/admin/checks.py
  2. +1 −1  tests/admin_checks/tests.py
2  django/contrib/admin/checks.py
View
@@ -783,7 +783,7 @@ def _check_list_editable_item(self, cls, model, field_name, label):
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,
2  tests/admin_checks/tests.py
View
@@ -64,7 +64,7 @@ class SongAdmin(admin.ModelAdmin):
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',
Please sign in to comment.
Something went wrong with that request. Please try again.