[PR #4335] [MERGED] Closes #4325: Add suport for rack reservations CSV import #12819

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4335
Author: @jeremystretch
Created: 3/9/2020
Status: Merged
Merged: 3/9/2020
Merged by: @jeremystretch

Base: developHead: 4325-rack-reservation-import


📝 Commits (5)

  • ad9dfec Started on #4325 (WIP)
  • 947affd Extend BulkImportView._save_obj to pass request context
  • 049da81 Convert units to SimpleArrayField
  • e364a25 Add test for RackReservation import
  • 8cca22d Add nav menu entry for rack reservations import

📊 Changes

8 files changed (+109 additions, -11 deletions)

View changed files

📝 netbox/dcim/forms.py (+58 -0)
📝 netbox/dcim/models/__init__.py (+13 -0)
📝 netbox/dcim/tests/test_views.py (+7 -3)
📝 netbox/dcim/urls.py (+1 -0)
📝 netbox/dcim/views.py (+19 -2)
📝 netbox/secrets/views.py (+1 -1)
📝 netbox/templates/inc/nav_menu.html (+8 -3)
📝 netbox/utilities/views.py (+2 -2)

📄 Description

Fixes: #4325

  • Add a new view and form for CSV-based import of rack reservations
  • Extend the tests to include this view

🔄 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/4335 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/9/2020 **Status:** ✅ Merged **Merged:** 3/9/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `4325-rack-reservation-import` --- ### 📝 Commits (5) - [`ad9dfec`](https://github.com/netbox-community/netbox/commit/ad9dfec89413fb194e05f78f4dbbcaa95b67e8fa) Started on #4325 (WIP) - [`947affd`](https://github.com/netbox-community/netbox/commit/947affd78fc038ef27ce965d6d68c5f72944908f) Extend BulkImportView._save_obj to pass request context - [`049da81`](https://github.com/netbox-community/netbox/commit/049da81bf2cf95203e280204385a8bd720387a8d) Convert units to SimpleArrayField - [`e364a25`](https://github.com/netbox-community/netbox/commit/e364a25e46547abfb65c0278f62cd5ac9660ed18) Add test for RackReservation import - [`8cca22d`](https://github.com/netbox-community/netbox/commit/8cca22d79cbdcec89e42c281825331f4ed4f0ba0) Add nav menu entry for rack reservations import ### 📊 Changes **8 files changed** (+109 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms.py` (+58 -0) 📝 `netbox/dcim/models/__init__.py` (+13 -0) 📝 `netbox/dcim/tests/test_views.py` (+7 -3) 📝 `netbox/dcim/urls.py` (+1 -0) 📝 `netbox/dcim/views.py` (+19 -2) 📝 `netbox/secrets/views.py` (+1 -1) 📝 `netbox/templates/inc/nav_menu.html` (+8 -3) 📝 `netbox/utilities/views.py` (+2 -2) </details> ### 📄 Description ### Fixes: #4325 - Add a new view and form for CSV-based import of rack reservations - Extend the tests to include this view --- <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:23:47 +01:00
adam closed this issue 2025-12-29 22:23:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12819