0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Document site_name attribute of Site - fixes #2099

This commit is contained in:
Matt Westcott 2016-01-13 12:49:20 +00:00
parent aea3ce67a0
commit 88d1977d34

View File

@ -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`)