[PR #1728] [CLOSED] resolved utilities views import for ComponentCreateView, fixes #1727 #12260

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/1728
Author: @lampwins
Created: 11/20/2017
Status: Closed

Base: develop-2.3Head: develop-2.3


📝 Commits (2)

  • 6f1a8ea resolved utilities views import for ComponentCreateView, fixes #1727
  • 36c4f45 fixed PEP8 in dcim.api.serializers.RackReservationSerializer

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+1 -1)
📝 netbox/utilities/views.py (+1 -0)

📄 Description

Fixes: #1727

The utilities views.py was missing an import from constants which is needed to pull in a list of Many2Many field types for the ComponentCreateView.


🔄 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/1728 **Author:** [@lampwins](https://github.com/lampwins) **Created:** 11/20/2017 **Status:** ❌ Closed **Base:** `develop-2.3` ← **Head:** `develop-2.3` --- ### 📝 Commits (2) - [`6f1a8ea`](https://github.com/netbox-community/netbox/commit/6f1a8ea6820d29d8bff114385edb2cab6f3996fa) resolved utilities views import for ComponentCreateView, fixes #1727 - [`36c4f45`](https://github.com/netbox-community/netbox/commit/36c4f4598be853b78ff563f2127b185192af680e) fixed PEP8 in dcim.api.serializers.RackReservationSerializer ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+1 -1) 📝 `netbox/utilities/views.py` (+1 -0) </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. --> ### Fixes: #1727 <!-- Please include a summary of the proposed changes below. --> The utilities views.py was missing an import from constants which is needed to pull in a list of Many2Many field types for the ComponentCreateView. --- <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:20:31 +01:00
adam closed this issue 2025-12-29 22:20:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12260