mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
moar docs
This commit is contained in:
parent
b614781e9c
commit
af881e0789
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user