From bee2eb32cef7a4b5e61b041ec653c1fe540dd76a Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 3 Jul 2019 13:39:53 +1000 Subject: about: Display admin contact details Display the list of admins on the about page. Add an ADMINS_HIDE option if you don't want the details displayed publicly. Closes: #282 ("Display contact details for patchwork instance admins") Signed-off-by: Andrew Donnellan Signed-off-by: Stephen Finucane --- docs/deployment/configuration.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'docs/deployment') diff --git a/docs/deployment/configuration.rst b/docs/deployment/configuration.rst index ba9a2eb..30a1703 100644 --- a/docs/deployment/configuration.rst +++ b/docs/deployment/configuration.rst @@ -38,6 +38,19 @@ Patchwork-specific Settings Patchwork utilizes a number of Patchwork-only settings in addition to the `Django`__ and `Django REST Framework`__ settings. +__ https://docs.djangoproject.com/en/1.8/ref/settings/ +__ http://www.django-rest-framework.org/api-guide/settings/ + +``ADMINS_HIDE`` +~~~~~~~~~~~~~~~ + +If True, the details in `ADMINS`__ will be hidden from the *About* page +(``/about``). + +.. versionadded:: 2.2 + +__ https://docs.djangoproject.com/en/2.2/ref/settings/#admins + ``DEFAULT_ITEMS_PER_PAGE`` ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -112,5 +125,3 @@ Force use of ``https://`` links instead of guessing the scheme based on current access. This is useful if SSL protocol is terminated upstream of the server (e.g. at the load balancer) -__ https://docs.djangoproject.com/en/1.8/ref/settings/ -__ http://www.django-rest-framework.org/api-guide/settings/ -- cgit v1.2.3