Browse Source

Fixed typo in tutorial 5.

Clifford Gama 2 months ago
parent
commit
095f5db060
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/intro/tutorial05.txt

+ 1 - 1
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
 --------------------