1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed spelling of "nonexistent".

This commit is contained in:
Tim Graham
2017-02-02 20:43:21 -05:00
parent a21ec12409
commit 29f607927f
47 changed files with 141 additions and 114 deletions

View File

@@ -88,7 +88,7 @@ class IndexTogetherTests(SimpleTestCase):
errors = Model.check()
expected = [
Error(
"'index_together' refers to the non-existent field 'missing_field'.",
"'index_together' refers to the nonexistent field 'missing_field'.",
obj=Model,
id='models.E012',
),
@@ -214,7 +214,7 @@ class UniqueTogetherTests(SimpleTestCase):
errors = Model.check()
expected = [
Error(
"'unique_together' refers to the non-existent field 'missing_field'.",
"'unique_together' refers to the nonexistent field 'missing_field'.",
obj=Model,
id='models.E012',
),
@@ -631,7 +631,7 @@ class OtherModelTests(SimpleTestCase):
errors = Model.check()
expected = [
Error(
"'ordering' refers to the non-existent field 'relation'.",
"'ordering' refers to the nonexistent field 'relation'.",
obj=Model,
id='models.E015',
),
@@ -646,7 +646,7 @@ class OtherModelTests(SimpleTestCase):
errors = Model.check()
expected = [
Error(
"'ordering' refers to the non-existent field 'missing_field'.",
"'ordering' refers to the nonexistent field 'missing_field'.",
obj=Model,
id='models.E015',
)
@@ -665,7 +665,7 @@ class OtherModelTests(SimpleTestCase):
errors = Model.check()
expected = [
Error(
"'ordering' refers to the non-existent field 'missing_fk_field_id'.",
"'ordering' refers to the nonexistent field 'missing_fk_field_id'.",
obj=Model,
id='models.E015',
)