kopia lustrzana https://github.com/wagtail/wagtail
Update creating_pages.rst
rodzic
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"
|
||||
|
|
Ładowanie…
Reference in New Issue