[PR #11710] [MERGED] Closes #11693: Enable remote data synchronization for export templates #13826

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11710
Author: @jeremystretch
Created: 2/9/2023
Status: Merged
Merged: 2/9/2023
Merged by: @jeremystretch

Base: featureHead: 11693-exporttemplate-remote-data


📝 Commits (2)

  • f5c6d4f Closes #11693: Enable remote data synchronization for export templates
  • 5e5cc2d Merge migrations

📊 Changes

18 files changed (+232 additions, -90 deletions)

View changed files

📝 docs/models/extras/exporttemplate.md (+4 -0)
📝 netbox/extras/api/serializers.py (+8 -1)
📝 netbox/extras/api/views.py (+2 -2)
📝 netbox/extras/filtersets.py (+9 -1)
📝 netbox/extras/forms/filtersets.py (+15 -1)
📝 netbox/extras/forms/model_forms.py (+15 -6)
📝 netbox/extras/migrations/0085_synced_data.py (+22 -2)
📝 netbox/extras/models/models.py (+10 -2)
📝 netbox/extras/tables/tables.py (+11 -2)
📝 netbox/extras/urls.py (+1 -0)
📝 netbox/extras/views.py (+6 -0)
📝 netbox/templates/extras/configcontext.html (+6 -20)
📝 netbox/templates/extras/exporttemplate.html (+79 -53)
netbox/templates/extras/exporttemplate_list.html (+10 -0)
netbox/templates/inc/sync_warning.html (+13 -0)
netbox/utilities/templates/buttons/sync.html (+6 -0)
📝 netbox/utilities/templatetags/buttons.py (+10 -0)
📝 netbox/utilities/templatetags/perms.py (+5 -0)

📄 Description

Fixes: #11693

This essentially replicates what was done for config contexts in #9073, while introducing some new components that can be reused across multiple models.


🔄 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/11710 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/9/2023 **Status:** ✅ Merged **Merged:** 2/9/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `11693-exporttemplate-remote-data` --- ### 📝 Commits (2) - [`f5c6d4f`](https://github.com/netbox-community/netbox/commit/f5c6d4fd0d4ca921851de2775cf5ed8d742f635a) Closes #11693: Enable remote data synchronization for export templates - [`5e5cc2d`](https://github.com/netbox-community/netbox/commit/5e5cc2d30b3a3f64b2250f0f377ea06e0b0ce16b) Merge migrations ### 📊 Changes **18 files changed** (+232 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/extras/exporttemplate.md` (+4 -0) 📝 `netbox/extras/api/serializers.py` (+8 -1) 📝 `netbox/extras/api/views.py` (+2 -2) 📝 `netbox/extras/filtersets.py` (+9 -1) 📝 `netbox/extras/forms/filtersets.py` (+15 -1) 📝 `netbox/extras/forms/model_forms.py` (+15 -6) 📝 `netbox/extras/migrations/0085_synced_data.py` (+22 -2) 📝 `netbox/extras/models/models.py` (+10 -2) 📝 `netbox/extras/tables/tables.py` (+11 -2) 📝 `netbox/extras/urls.py` (+1 -0) 📝 `netbox/extras/views.py` (+6 -0) 📝 `netbox/templates/extras/configcontext.html` (+6 -20) 📝 `netbox/templates/extras/exporttemplate.html` (+79 -53) ➕ `netbox/templates/extras/exporttemplate_list.html` (+10 -0) ➕ `netbox/templates/inc/sync_warning.html` (+13 -0) ➕ `netbox/utilities/templates/buttons/sync.html` (+6 -0) 📝 `netbox/utilities/templatetags/buttons.py` (+10 -0) 📝 `netbox/utilities/templatetags/perms.py` (+5 -0) </details> ### 📄 Description ### Fixes: #11693 This essentially replicates what was done for config contexts in #9073, while introducing some new components that can be reused across multiple models. --- <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:21:02 +01:00
adam closed this issue 2025-12-29 23:21:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13826