Browse Source

Fixed typos in docs and a test comment.

Yoo In Keun 5 years ago
parent
commit
4ef107e34f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/topics/templates.txt
  2. 1 1
      tests/foreign_object/tests.py

+ 1 - 1
docs/topics/templates.txt

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

+ 1 - 1
tests/foreign_object/tests.py

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