mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 03:31:04 +01:00
Update creating_pages.rst
This commit is contained in:
parent
98fd81e910
commit
84aa8a1887
@ -183,9 +183,10 @@ Then for each model as necessary, add a description attribute to the model ``Met
|
|||||||
|
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
class HomePage(Page):
|
class HomePage(Page):
|
||||||
...
|
...
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
description = "The top level homepage for your site"
|
description = "The top level homepage for your site"
|
||||||
verbose_name = "Homepage"
|
verbose_name = "Homepage"
|
||||||
|
Loading…
Reference in New Issue
Block a user