1
0
mirror of https://github.com/django/django.git synced 2025-02-04 14:37:19 +00:00

[5.1.x] Fixed typo in tutorial 5.

Backport of 095f5db060b88f5ef248d6a656b9059a54d4f277 from main.
This commit is contained in:
Clifford Gama 2025-01-07 15:47:56 +02:00 committed by Natalia
parent 2ee6ca6d35
commit 638547bc0b

View File

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