0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

moar docs

This commit is contained in:
Jeffrey Hearn 2014-05-07 14:36:56 -04:00
parent b614781e9c
commit af881e0789

View File

@ -82,8 +82,9 @@ Parents
```````
Parent nodes on the Wagtail tree probably want to organize and display a browsable index of their descendents. A blog, for instance, needs a way to show a list of individual posts.
A Parent node could provide its own function returning its descendant objects. :: python
A Parent node could provide its own function returning its descendant objects.
.. code-block:: python
class EventPageIndex(Page):
...
def events(self):