Fixed typos in docs and a test comment.

This commit is contained in:
Yoo In Keun 2020-02-18 21:54:41 +09:00 committed by Mariusz Felisiak
parent 4d973f5939
commit 4ef107e34f
2 changed files with 2 additions and 2 deletions

View File

@ -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``.

View File

@ -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)