瀏覽代碼

Fixed typo in tutorial 5.

Clifford Gama 2 月之前
父節點
當前提交
095f5db060
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 --------------------