mirror of https://github.com/django/django.git
Fixed typos in docs and a test comment.
This commit is contained in:
parent
4d973f5939
commit
4ef107e34f
|
@ -645,7 +645,7 @@ creating an object that specifies the following attributes:
|
|||
* ``'name'``: The full path to the template.
|
||||
|
||||
* ``'template_name'``: The relative path to the template as passed into the
|
||||
the template loading methods.
|
||||
template loading methods.
|
||||
|
||||
* ``'loader_name'``: An optional string identifying the function or class used
|
||||
to load the template, e.g. ``django.template.loaders.filesystem.Loader``.
|
||||
|
|
|
@ -47,7 +47,7 @@ class MultiColumnFKTests(TestCase):
|
|||
self.assertEqual((person.id, person.name), (self.bob.id, "Bob"))
|
||||
|
||||
def test_get_fails_on_multicolumn_mismatch(self):
|
||||
# Membership objects returns DoesNotExist error when the there is no
|
||||
# Membership objects returns DoesNotExist error when there is no
|
||||
# Person with the same id and country_id
|
||||
membership = Membership.objects.create(
|
||||
membership_country_id=self.usa.id, person_id=self.jane.id, group_id=self.cia.id)
|
||||
|
|
Loading…
Reference in New Issue