mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-16 11:13:15 +00:00
moar docs
This commit is contained in:
parent
b614781e9c
commit
af881e0789
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue