瀏覽代碼

Fix incorrect comment

Thibaud Colas 2 年之前
父節點
當前提交
8bbf239cf6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bakerydemo/locations/models.py

+ 1 - 1
bakerydemo/locations/models.py

@@ -87,7 +87,7 @@ class LocationsIndexPage(Page):
         return self.get_children().specific().live()
 
     # Overrides the context to list all child
-    # items, that are live, by the date that they were published
+    # items, that are live, by the title alphabetical order.
     # https://docs.wagtail.org/en/stable/getting_started/tutorial.html#overriding-context
     def get_context(self, request):
         context = super(LocationsIndexPage, self).get_context(request)