Document `site_name` attribute of Site - fixes #2099

pull/2109/head
Matt Westcott 2016-01-13 12:49:20 +00:00
rodzic aea3ce67a0
commit 88d1977d34
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -193,6 +193,14 @@ Database fields
This is the port number that the site responds on.
.. attribute:: site_name
(text - optional)
A human-readable name for the site. This is not used by Wagtail itself, but is suitable for use on the site front-end, such as in ``<title>`` elements.
For example: ``Rod's World of Birds``
.. attribute:: root_page
(foreign key to :class:`~wagtail.wagtailcore.models.Page`)