mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 19:20:56 +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
|
||||
|
||||
class HomePage(Page):
|
||||
...
|
||||
|
||||
|
||||
class Meta:
|
||||
description = "The top level homepage for your site"
|
||||
verbose_name = "Homepage"
|
||||
|
Loading…
Reference in New Issue
Block a user