From 638547bc0b3487d979b1c3968ea13227161214cf Mon Sep 17 00:00:00 2001 From: Clifford Gama <53076065+cliff688@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:47:56 +0200 Subject: [PATCH] [5.1.x] Fixed typo in tutorial 5. Backport of 095f5db060b88f5ef248d6a656b9059a54d4f277 from main. --- docs/intro/tutorial05.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 28a634b8c3..921670aa5e 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -456,7 +456,7 @@ and then we must amend the ``get_queryset`` method like so: ``Question.objects.filter(pub_date__lte=timezone.now())`` returns a queryset containing ``Question``\s whose ``pub_date`` is less than or equal to - that -is, earlier than or equal to - ``timezone.now``. +is, earlier than or equal to - ``timezone.now()``. Testing our new view --------------------