summaryrefslogtreecommitdiff
path: root/tests/defer
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2019-06-25 19:12:45 +1000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-25 11:12:45 +0200
commit698df6a009cb1c4dbd55905264f24f6edf41066e (patch)
tree65da2f2a647f080ee4ea152d2f9a5b225ab32fe4 /tests/defer
parent325d5d64452118d89624d8b4c8679f0d2cb3d6d6 (diff)
downloaddjango-698df6a009cb1c4dbd55905264f24f6edf41066e.tar.gz
Fixed typos in test comments.
Diffstat (limited to 'tests/defer')
-rw-r--r--tests/defer/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/defer/tests.py b/tests/defer/tests.py
index dbb1299255..f2e86aca96 100644
--- a/tests/defer/tests.py
+++ b/tests/defer/tests.py
@@ -40,7 +40,7 @@ class DeferTests(AssertionMixin, TestCase):
# of them except the model's primary key see #15494
self.assert_delayed(qs.only("pk")[0], 3)
# You can use 'pk' with reverse foreign key lookups.
- # The related_id is alawys set even if it's not fetched from the DB,
+ # The related_id is always set even if it's not fetched from the DB,
# so pk and related_id are not deferred.
self.assert_delayed(self.s1.primary_set.all().only('pk')[0], 2)