[PR #257] [CLOSED] Fixes #164 (partially) - Add region field to site #12025

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/257
Author: @rdujardin
Created: 7/11/2016
Status: Closed

Base: developHead: develop


📝 Commits (1)

  • f629f19 Fixes #164 (partially) - Add region field to site

📊 Changes

7 files changed (+32 additions, -4 deletions)

View changed files

📝 netbox/dcim/filters.py (+2 -2)
📝 netbox/dcim/forms.py (+2 -1)
netbox/dcim/migrations/0006_site_region.py (+20 -0)
📝 netbox/dcim/models.py (+1 -0)
📝 netbox/dcim/tables.py (+2 -1)
📝 netbox/templates/dcim/site.html (+4 -0)
📝 netbox/templates/dcim/site_edit.html (+1 -0)

📄 Description

Hello. I added a charfield "region" in model Site. It allows to distinguish, for instance, sites in different cities. That was asked in issue #164 .


🔄 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/257 **Author:** [@rdujardin](https://github.com/rdujardin) **Created:** 7/11/2016 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`f629f19`](https://github.com/netbox-community/netbox/commit/f629f191216dd3f2a69f01ec68b6c316bdf74621) Fixes #164 (partially) - Add region field to site ### 📊 Changes **7 files changed** (+32 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/filters.py` (+2 -2) 📝 `netbox/dcim/forms.py` (+2 -1) ➕ `netbox/dcim/migrations/0006_site_region.py` (+20 -0) 📝 `netbox/dcim/models.py` (+1 -0) 📝 `netbox/dcim/tables.py` (+2 -1) 📝 `netbox/templates/dcim/site.html` (+4 -0) 📝 `netbox/templates/dcim/site_edit.html` (+1 -0) </details> ### 📄 Description Hello. I added a charfield "region" in model Site. It allows to distinguish, for instance, sites in different cities. That was asked in issue #164 . --- <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:19:12 +01:00
adam closed this issue 2025-12-29 22:19:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12025