mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed many spelling mistakes in code, comments, and docs.
This commit is contained in:
parent
b6dd0afead
commit
93452a70e8
61 changed files with 187 additions and 187 deletions
|
@ -4,7 +4,7 @@ from django.db import models
|
|||
from .base import IsolatedModelsTestCase
|
||||
|
||||
|
||||
class DeprecatedFieldssTests(IsolatedModelsTestCase):
|
||||
class DeprecatedFieldsTests(IsolatedModelsTestCase):
|
||||
def test_IPAddressField_deprecated(self):
|
||||
class IPAddressModel(models.Model):
|
||||
ip = models.IPAddressField()
|
||||
|
|
|
@ -351,7 +351,7 @@ class FieldNamesTests(IsolatedModelsTestCase):
|
|||
]
|
||||
|
||||
# Second error because the FK specified in the `through` model
|
||||
# `m2msimple` has auto-genererated name longer than allowed.
|
||||
# `m2msimple` has auto-generated name longer than allowed.
|
||||
# There will be no check errors in the other M2M because it
|
||||
# specifies db_column for the FK in `through` model even if the actual
|
||||
# name is longer than the limits of the database.
|
||||
|
|
|
@ -1504,7 +1504,7 @@ class M2mThroughFieldsTests(IsolatedModelsTestCase):
|
|||
]
|
||||
self.assertEqual(expected, errors)
|
||||
|
||||
def test_insersection_foreign_object(self):
|
||||
def test_intersection_foreign_object(self):
|
||||
class Parent(models.Model):
|
||||
a = models.PositiveIntegerField()
|
||||
b = models.PositiveIntegerField()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue