From 06bb9f8bbbbaa6b7ecbb9e40be367852378c9918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lech=C3=A9mia?= Date: Wed, 13 Dec 2023 15:23:47 +0100 Subject: [PATCH] Update advanced-configuration.rst --- docs/install/advanced-configuration.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/install/advanced-configuration.rst b/docs/install/advanced-configuration.rst index 3294f8921b..9f48cafe2d 100644 --- a/docs/install/advanced-configuration.rst +++ b/docs/install/advanced-configuration.rst @@ -53,7 +53,7 @@ Note that this setting does not impact the Path endpoints, which means that the Swagger API documentation ~~~~~~~~~~~~~~~~~~~~~~~~~ -In order to enable swagger module to auto-document API ``/api/v2/``, in the custom settings file, +In order to enable swagger module to auto-document API, in the custom settings file, add the following code: .. code-block :: python @@ -62,6 +62,7 @@ add the following code: INSTALLED_APPS += ('drf_yasg', ) Then run ``sudo dpkg-reconfigure -u geotrek-admin``. +The API swagger documentation is now availaible here : `/api/v2` Share services between several Geotrek instances ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~