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

Fixed many typos in comments and docstrings.

Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
Rodolfo Carvalho
2014-03-02 15:25:53 +01:00
committed by Tim Graham
parent 6acaa52386
commit 0d91225892
121 changed files with 208 additions and 208 deletions

View File

@@ -39,7 +39,7 @@ class CustomField(TestCase):
# Custom fields still have normal field's attributes.
self.assertEqual(m._meta.get_field("data").verbose_name, "small field")
# The m.data attribute has been initialised correctly. It's a Small
# The m.data attribute has been initialized correctly. It's a Small
# object.
self.assertEqual((m.data.first, m.data.second), (1, 2))
@@ -100,7 +100,7 @@ class CustomField(TestCase):
http://users.rcn.com/python/download/Descriptor.htm#properties
"""
# Even when looking for totally different properties, SubfieldBase's
# non property like behaviour made inspect crash. Refs #12568.
# non property like behavior made inspect crash. Refs #12568.
data = dict(inspect.getmembers(MyModel))
self.assertIn('__module__', data)
self.assertEqual(data['__module__'], 'field_subclassing.models')