mirror of
https://github.com/django/django.git
synced 2025-03-06 15:32:33 +00:00
Fixed typo in tutorial 5.
This commit is contained in:
parent
470e5545e5
commit
095f5db060
@ -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
|
``Question.objects.filter(pub_date__lte=timezone.now())`` returns a queryset
|
||||||
containing ``Question``\s whose ``pub_date`` is less than or equal to - that
|
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
|
Testing our new view
|
||||||
--------------------
|
--------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user