[PR #18694] [MERGED] Closes #18072: Remove support for single model registration from PluginTemplateExtension #15417

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18694
Author: @jeremystretch
Created: 2/20/2025
Status: Merged
Merged: 2/25/2025
Merged by: @jeremystretch

Base: featureHead: 18072-PluginTemplateExtension-remove-model


📝 Commits (1)

  • 5cd1f56 Closes #18072: Remove support for single model registration from PluginTemplateExtension

📊 Changes

2 files changed (+10 additions, -13 deletions)

View changed files

📝 netbox/netbox/plugins/registration.py (+2 -10)
📝 netbox/netbox/plugins/templates.py (+8 -3)

📄 Description

Fixes: #18072

  • Remove the deprecated model attribute from PluginTemplateExtension
  • Remove the backward-compatible registration logic

🔄 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/18694 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/20/2025 **Status:** ✅ Merged **Merged:** 2/25/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `18072-PluginTemplateExtension-remove-model` --- ### 📝 Commits (1) - [`5cd1f56`](https://github.com/netbox-community/netbox/commit/5cd1f56fab0c7a841202db3dec4a31d55789c15a) Closes #18072: Remove support for single model registration from PluginTemplateExtension ### 📊 Changes **2 files changed** (+10 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/plugins/registration.py` (+2 -10) 📝 `netbox/netbox/plugins/templates.py` (+8 -3) </details> ### 📄 Description ### Fixes: #18072 - Remove the deprecated `model` attribute from PluginTemplateExtension - Remove the backward-compatible registration logic --- <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:21:48 +01:00
adam closed this issue 2025-12-30 00:21:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15417