Explorar o código

Fix incorrect comment

Thibaud Colas %!s(int64=2) %!d(string=hai) anos
pai
achega
8bbf239cf6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)