[PR #18912] [MERGED] Closes #18780: External database configuration #15474

Closed
opened 2025-12-30 00:22:09 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18912
Author: @jeremystretch
Created: 3/14/2025
Status: Merged
Merged: 3/17/2025
Merged by: @arthanson

Base: featureHead: 18780-external-databases


📝 Commits (2)

  • 1db1ea2 Expose the DATABASES config parameter to (eventually) replace DATABASE
  • d7d4b06 Introduce DATABASE_ROUTERS config parameter

📊 Changes

7 files changed (+94 additions, -49 deletions)

View changed files

📝 docs/configuration/required-parameters.md (+35 -10)
📝 docs/configuration/system.md (+8 -0)
📝 docs/development/getting-started.md (+1 -1)
📝 docs/installation/3-netbox.md (+14 -10)
📝 netbox/netbox/configuration_example.py (+10 -8)
📝 netbox/netbox/configuration_testing.py (+9 -7)
📝 netbox/netbox/settings.py (+17 -13)

📄 Description

Closes: #18780

  • Expose Django's DATABASE and DATABASE_ROUTERS settings via configuration.py
  • Effect soft deprecation of the legacy DATABASE config parameter but retain backward compatibility

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/18912 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/14/2025 **Status:** ✅ Merged **Merged:** 3/17/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `18780-external-databases` --- ### 📝 Commits (2) - [`1db1ea2`](https://github.com/netbox-community/netbox/commit/1db1ea285b2f50ec7995e502618f1ec4d06bee99) Expose the DATABASES config parameter to (eventually) replace DATABASE - [`d7d4b06`](https://github.com/netbox-community/netbox/commit/d7d4b0680888717d82c41ad8bd16c086038d0282) Introduce DATABASE_ROUTERS config parameter ### 📊 Changes **7 files changed** (+94 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/required-parameters.md` (+35 -10) 📝 `docs/configuration/system.md` (+8 -0) 📝 `docs/development/getting-started.md` (+1 -1) 📝 `docs/installation/3-netbox.md` (+14 -10) 📝 `netbox/netbox/configuration_example.py` (+10 -8) 📝 `netbox/netbox/configuration_testing.py` (+9 -7) 📝 `netbox/netbox/settings.py` (+17 -13) </details> ### 📄 Description ### Closes: #18780 - Expose Django's `DATABASE` and `DATABASE_ROUTERS` settings via `configuration.py` - Effect soft deprecation of the legacy `DATABASE` config parameter but retain backward compatibility --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:22:09 +01:00
adam closed this issue 2025-12-30 00:22:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15474