[PR #4053] [MERGED] Closes #4051: Disable the makemigrations management command #12741

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4053
Author: @jeremystretch
Created: 1/30/2020
Status: Merged
Merged: 1/30/2020
Merged by: @jeremystretch

Base: developHead: 4051-disable-makemigrations


📝 Commits (3)

  • 4ba2579 Closes #4051: Disable the makemigrations management command
  • c8c9f78 Documented the new DEVELOPER configuration parameter
  • ac27759 Merge branch 'develop' into 4051-disable-makemigrations

📊 Changes

4 files changed (+32 additions, -1 deletions)

View changed files

📝 docs/configuration/optional-settings.md (+8 -0)
📝 docs/release-notes/version-2.7.md (+1 -0)
📝 netbox/netbox/settings.py (+1 -0)
📝 netbox/utilities/management/commands/makemigrations.py (+22 -1)

📄 Description

Fixes: #4051

Disable the manage.py makemigrations command unless configuration.DEVELOPER evaluates to True.


🔄 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/4053 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 1/30/2020 **Status:** ✅ Merged **Merged:** 1/30/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `4051-disable-makemigrations` --- ### 📝 Commits (3) - [`4ba2579`](https://github.com/netbox-community/netbox/commit/4ba25799368e9edfc14ad14f2ba892600a049466) Closes #4051: Disable the makemigrations management command - [`c8c9f78`](https://github.com/netbox-community/netbox/commit/c8c9f78829c24e798d9e29b7431fea3c38155db6) Documented the new DEVELOPER configuration parameter - [`ac27759`](https://github.com/netbox-community/netbox/commit/ac2775925066c8db236fb7ea1682545a4e81d3da) Merge branch 'develop' into 4051-disable-makemigrations ### 📊 Changes **4 files changed** (+32 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/optional-settings.md` (+8 -0) 📝 `docs/release-notes/version-2.7.md` (+1 -0) 📝 `netbox/netbox/settings.py` (+1 -0) 📝 `netbox/utilities/management/commands/makemigrations.py` (+22 -1) </details> ### 📄 Description ### Fixes: #4051 Disable the `manage.py makemigrations` command unless `configuration.DEVELOPER` evaluates to True. --- <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-29 22:23:22 +01:00
adam closed this issue 2025-12-29 22:23:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12741