[PR #19824] [MERGED] Closes #19739: Add a user preference for CSV delimiter in table exports #15728

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19824
Author: @jeremystretch
Created: 7/7/2025
Status: Merged
Merged: 7/8/2025
Merged by: @jnovinger

Base: featureHead: 19739-csv-delimiter-pref


📝 Commits (2)

  • bbff948 Closes #19739: Add a user preference for CSV delimiter in table exports
  • a513c0a Pass custom delimiter when exporting entire table

📊 Changes

5 files changed (+53 additions, -6 deletions)

View changed files

📝 netbox/netbox/constants.py (+7 -0)
📝 netbox/netbox/preferences.py (+10 -0)
📝 netbox/netbox/views/generic/bulk_views.py (+9 -5)
📝 netbox/users/forms/model_forms.py (+1 -1)
netbox/utilities/export.py (+26 -0)

📄 Description

Closes: #19739

  • Introduce the csv_delimiter user preference
  • Subclass TableExport from django-tables2 to support custom delimiters
  • Extend ObjectListView to infer delimiter from user preference during export

🔄 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/19824 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/7/2025 **Status:** ✅ Merged **Merged:** 7/8/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `feature` ← **Head:** `19739-csv-delimiter-pref` --- ### 📝 Commits (2) - [`bbff948`](https://github.com/netbox-community/netbox/commit/bbff948f7c1a1f3248b5491122f3c3025528b29a) Closes #19739: Add a user preference for CSV delimiter in table exports - [`a513c0a`](https://github.com/netbox-community/netbox/commit/a513c0adb915e9e735ee09423e38a72dcf74af85) Pass custom delimiter when exporting entire table ### 📊 Changes **5 files changed** (+53 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/constants.py` (+7 -0) 📝 `netbox/netbox/preferences.py` (+10 -0) 📝 `netbox/netbox/views/generic/bulk_views.py` (+9 -5) 📝 `netbox/users/forms/model_forms.py` (+1 -1) ➕ `netbox/utilities/export.py` (+26 -0) </details> ### 📄 Description ### Closes: #19739 - Introduce the `csv_delimiter` user preference - Subclass TableExport from django-tables2 to support custom delimiters - Extend ObjectListView to infer delimiter from user preference during export --- <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:23:41 +01:00
adam closed this issue 2025-12-30 00:23:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15728