Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tcms_settings_dir/enterprise.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
if DATABASES['default']['ENGINE'].find('mysql') == -1: # noqa: F821
del DATABASES['default']['OPTIONS'] # noqa: F821

# support default connection pool configuration, see
# https://docs.djangoproject.com/en/5.2/ref/databases/#connection-pool
# https://www.psycopg.org/psycopg3/docs/api/pool.html#psycopg_pool.ConnectionPool
if "OPTIONS" in DATABASES["default"]: # noqa: F821
DATABASES["default"]["OPTIONS"]["pool"] = True # noqa: F821

# link to legal information, see https://github.com/kiwitcms/Kiwi/issues/249
LEGAL_MENU_ITEM = ('http://kiwitcms.org/legal/', _('Legal information'))
if LEGAL_MENU_ITEM not in HELP_MENU_ITEMS: # noqa: F821
Expand Down