mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-19 04:31:11 +00:00
Document site_name attribute of Site - fixes #2099
This commit is contained in:
parent
aea3ce67a0
commit
88d1977d34
1 changed files with 8 additions and 0 deletions
|
|
@ -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 a new issue