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:
parent
aea3ce67a0
commit
88d1977d34
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user