From 88d1977d34d9d5023c4bd6a691665f85a0405bb5 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 13 Jan 2016 12:49:20 +0000 Subject: [PATCH] Document `site_name` attribute of Site - fixes #2099 --- docs/reference/pages/model_reference.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/reference/pages/model_reference.rst b/docs/reference/pages/model_reference.rst index e94bd8cbb0..2830b9dd2e 100644 --- a/docs/reference/pages/model_reference.rst +++ b/docs/reference/pages/model_reference.rst @@ -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 ```` elements. + + For example: ``Rod's World of Birds`` + .. attribute:: root_page (foreign key to :class:`~wagtail.wagtailcore.models.Page`)