[PR #10609] [MERGED] Closes #10608: Register all core model views using register_model_view() #13662

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10609
Author: @jeremystretch
Created: 10/7/2022
Status: Merged
Merged: 10/7/2022
Merged by: @jeremystretch

Base: featureHead: 10608-registered-model-views


📝 Commits (1)

  • b0ba9bd Closes #10608: Register all core model views using register_model_view()

📊 Changes

16 files changed (+389 additions, -344 deletions)

View changed files

📝 netbox/circuits/urls.py (+1 -17)
📝 netbox/circuits/views.py (+20 -0)
📝 netbox/dcim/urls.py (+10 -121)
📝 netbox/dcim/views.py (+225 -83)
📝 netbox/extras/urls.py (+2 -24)
📝 netbox/extras/views.py (+25 -1)
📝 netbox/ipam/urls.py (+1 -50)
📝 netbox/ipam/views.py (+54 -1)
📝 netbox/tenancy/urls.py (+1 -17)
📝 netbox/tenancy/views.py (+18 -1)
📝 netbox/utilities/urls.py (+3 -1)
📝 netbox/utilities/views.py (+2 -2)
📝 netbox/virtualization/urls.py (+0 -17)
📝 netbox/virtualization/views.py (+17 -0)
📝 netbox/wireless/urls.py (+0 -9)
📝 netbox/wireless/views.py (+10 -0)

📄 Description

Fixes: #10608

  • Tweak register_model_view() to accept an empty name
  • Register all individual object views using register_model_view()
  • Delete the old paths from urls.py

🔄 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/10609 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/7/2022 **Status:** ✅ Merged **Merged:** 10/7/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `10608-registered-model-views` --- ### 📝 Commits (1) - [`b0ba9bd`](https://github.com/netbox-community/netbox/commit/b0ba9bd83d7231c3889892d2488602b91aa2f329) Closes #10608: Register all core model views using register_model_view() ### 📊 Changes **16 files changed** (+389 additions, -344 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/urls.py` (+1 -17) 📝 `netbox/circuits/views.py` (+20 -0) 📝 `netbox/dcim/urls.py` (+10 -121) 📝 `netbox/dcim/views.py` (+225 -83) 📝 `netbox/extras/urls.py` (+2 -24) 📝 `netbox/extras/views.py` (+25 -1) 📝 `netbox/ipam/urls.py` (+1 -50) 📝 `netbox/ipam/views.py` (+54 -1) 📝 `netbox/tenancy/urls.py` (+1 -17) 📝 `netbox/tenancy/views.py` (+18 -1) 📝 `netbox/utilities/urls.py` (+3 -1) 📝 `netbox/utilities/views.py` (+2 -2) 📝 `netbox/virtualization/urls.py` (+0 -17) 📝 `netbox/virtualization/views.py` (+17 -0) 📝 `netbox/wireless/urls.py` (+0 -9) 📝 `netbox/wireless/views.py` (+10 -0) </details> ### 📄 Description ### Fixes: #10608 - Tweak `register_model_view()` to accept an empty name - Register all individual object views using `register_model_view()` - Delete the old paths from `urls.py` --- <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 23:20:08 +01:00
adam closed this issue 2025-12-29 23:20:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13662