[PR #3752] [MERGED] implement 3664 #12629

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3752
Author: @kobayashi
Created: 12/11/2019
Status: Merged
Merged: 12/11/2019
Merged by: @jeremystretch

Base: 3664-configcontext-tagsHead: 3664


📝 Commits (1)

📊 Changes

10 files changed (+77 additions, -3 deletions)

View changed files

📝 netbox/extras/api/serializers.py (+7 -1)
📝 netbox/extras/filters.py (+11 -0)
📝 netbox/extras/forms.py (+12 -1)
netbox/extras/migrations/0034_configcontext_tags.py (+18 -0)
📝 netbox/extras/models.py (+5 -0)
📝 netbox/extras/querysets.py (+3 -0)
📝 netbox/extras/tests/test_api.py (+5 -0)
📝 netbox/templates/extras/configcontext.html (+14 -0)
📝 netbox/templates/extras/configcontext_edit.html (+1 -0)
📝 netbox/utilities/views.py (+1 -1)

📄 Description

Fixes: #3664

This is a function to add config context by tags. but still need work for tag selection box rendering.
The tags select option shows as same as other tags fields provided with taggit. If any items are alocated there, can be added, deleted. To solve this, avoiding model item name tags. Is there better way for this?


🔄 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/3752 **Author:** [@kobayashi](https://github.com/kobayashi) **Created:** 12/11/2019 **Status:** ✅ Merged **Merged:** 12/11/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `3664-configcontext-tags` ← **Head:** `3664` --- ### 📝 Commits (1) - [`5710f29`](https://github.com/netbox-community/netbox/commit/5710f297f1f8ccc1d29363812b2816b6146851f7) implement 3664 ### 📊 Changes **10 files changed** (+77 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers.py` (+7 -1) 📝 `netbox/extras/filters.py` (+11 -0) 📝 `netbox/extras/forms.py` (+12 -1) ➕ `netbox/extras/migrations/0034_configcontext_tags.py` (+18 -0) 📝 `netbox/extras/models.py` (+5 -0) 📝 `netbox/extras/querysets.py` (+3 -0) 📝 `netbox/extras/tests/test_api.py` (+5 -0) 📝 `netbox/templates/extras/configcontext.html` (+14 -0) 📝 `netbox/templates/extras/configcontext_edit.html` (+1 -0) 📝 `netbox/utilities/views.py` (+1 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3664 <!-- Please include a summary of the proposed changes below. --> This is a function to add config context by tags. but still need work for tag selection box rendering. The `tags` select option shows as same as other tags fields provided with taggit. If any items are alocated there, can be added, deleted. To solve this, avoiding model item name `tags`. Is there better way for this? --- <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:22:44 +01:00
adam closed this issue 2025-12-29 22:22:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12629