[PR #4370] [MERGED] Closes #4078: Standardize description fields #12827

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

📋 Pull Request Information

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

Base: develop-2.8Head: 4078-standardize-fields


📝 Commits (5)

📊 Changes

48 files changed (+573 additions, -163 deletions)

View changed files

📝 docs/release-notes/version-2.8.md (+11 -0)
netbox/circuits/migrations/0008_standardize_description.py (+28 -0)
📝 netbox/circuits/models.py (+3 -3)
📝 netbox/dcim/api/serializers.py (+6 -4)
📝 netbox/dcim/filters.py (+4 -4)
📝 netbox/dcim/forms.py (+4 -4)
netbox/dcim/migrations/0103_standardize_description.py (+98 -0)
📝 netbox/dcim/models/__init__.py (+28 -8)
📝 netbox/dcim/models/device_components.py (+1 -1)
📝 netbox/dcim/tables.py (+8 -4)
📝 netbox/dcim/tests/test_filters.py (+34 -17)
📝 netbox/dcim/tests/test_views.py (+20 -16)
📝 netbox/extras/api/serializers.py (+1 -1)
📝 netbox/extras/forms.py (+6 -3)
netbox/extras/migrations/0039_standardize_description.py (+23 -0)
netbox/extras/migrations/0040_tag_description.py (+23 -0)
📝 netbox/extras/models.py (+4 -4)
📝 netbox/extras/tables.py (+1 -1)
📝 netbox/ipam/api/serializers.py (+2 -2)
📝 netbox/ipam/filters.py (+2 -2)

...and 28 more files

📄 Description

Fixes: #4078

  • Extend all existing description fields to 200 characters in length
  • Add a description field to all organizational models
  • Change the comments field on the Tag model to a description

🔄 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/4370 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/13/2020 **Status:** ✅ Merged **Merged:** 3/13/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop-2.8` ← **Head:** `4078-standardize-fields` --- ### 📝 Commits (5) - [`3b4ec59`](https://github.com/netbox-community/netbox/commit/3b4ec5926deb7d9fbbc0ac8de60354533d98d4c1) Standardize existing description fields to a length of 200 chars - [`cebe580`](https://github.com/netbox-community/netbox/commit/cebe580484c8ea7177b5164679ce08e8e8557c2c) Add a description field to all organizational models - [`9f5b138`](https://github.com/netbox-community/netbox/commit/9f5b138b0fd96de7d77424ab93a06d517c11b0ca) Add migrations for description fields - [`1a8554f`](https://github.com/netbox-community/netbox/commit/1a8554fd32179c9eb96487dc267b92f5c1dac0d7) Changelog for #4078 - [`d4f6909`](https://github.com/netbox-community/netbox/commit/d4f6909859a5f32e49329c484ea730fb455714d1) Rename Tag.comments to description ### 📊 Changes **48 files changed** (+573 additions, -163 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.8.md` (+11 -0) ➕ `netbox/circuits/migrations/0008_standardize_description.py` (+28 -0) 📝 `netbox/circuits/models.py` (+3 -3) 📝 `netbox/dcim/api/serializers.py` (+6 -4) 📝 `netbox/dcim/filters.py` (+4 -4) 📝 `netbox/dcim/forms.py` (+4 -4) ➕ `netbox/dcim/migrations/0103_standardize_description.py` (+98 -0) 📝 `netbox/dcim/models/__init__.py` (+28 -8) 📝 `netbox/dcim/models/device_components.py` (+1 -1) 📝 `netbox/dcim/tables.py` (+8 -4) 📝 `netbox/dcim/tests/test_filters.py` (+34 -17) 📝 `netbox/dcim/tests/test_views.py` (+20 -16) 📝 `netbox/extras/api/serializers.py` (+1 -1) 📝 `netbox/extras/forms.py` (+6 -3) ➕ `netbox/extras/migrations/0039_standardize_description.py` (+23 -0) ➕ `netbox/extras/migrations/0040_tag_description.py` (+23 -0) 📝 `netbox/extras/models.py` (+4 -4) 📝 `netbox/extras/tables.py` (+1 -1) 📝 `netbox/ipam/api/serializers.py` (+2 -2) 📝 `netbox/ipam/filters.py` (+2 -2) _...and 28 more files_ </details> ### 📄 Description ### Fixes: #4078 - Extend all existing `description` fields to 200 characters in length - Add a `description` field to all organizational models - Change the `comments` field on the Tag model to a `description` --- <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:50 +01:00
adam closed this issue 2025-12-29 22:23:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12827