From a5a97637f113d034159f6daef07e31a22007cedb Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Thu, 19 Dec 2024 14:13:45 +0100 Subject: [PATCH] docs(configuration): add APIS_FORMER_BASE_URIS setting --- docs/source/configuration.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index a5ddd57c2..19bcd33c6 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -14,6 +14,8 @@ comes from the ``APIS_BASE_URI`` setting. The second part comes from the reverse route of ``GetEntityGenericRoot`` if that exists. If not, it uses the the reverse route of ``apis_core:GetEntityGeneric``, which is defined in :py:mod:`apis_core.urls` and defaults to ``/entity/{pk}``. +If the value of ``APIS_BASE_URL`` changes and urls containing the former ``APIS_BASE_URL`` remain in the database, then the old ``APIS_BASE_URL`` value must added to the setting ``APIS_FORMER_BASE_URIS``. +``APIS_FORMER_BASE_URIS`` is a list that contains base urls that were once used. Django Settings ---------------