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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~