Closes #17051: Introduce the ISOLATED_DEPLOYMENT config parameter (#17067)

* Closes #17051: Introduce ISOLATED_DEPLOYMENT config parameter

* Revert omission of external footer links
This commit is contained in:
Jeremy Stretch
2024-08-02 08:05:08 -04:00
committed by GitHub
parent 80fc9abb03
commit 472fbdc654
4 changed files with 22 additions and 3 deletions

View File

@@ -107,6 +107,10 @@ def get_catalog_plugins():
"""
session = requests.Session()
# Disable catalog fetching for isolated deployments
if settings.ISOLATED_DEPLOYMENT:
return {}
def get_pages():
# TODO: pagination is currently broken in API
payload = {'page': '1', 'per_page': '50'}