[PR #20872] [MERGED] Fixes #20865: Enforce proper min/max values for latitude & longitude #16074

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20872
Author: @jeremystretch
Created: 11/24/2025
Status: Merged
Merged: 11/25/2025
Merged by: @jnovinger

Base: mainHead: 20865-lat-long-validation


📝 Commits (1)

  • 8fdbf4f Fixes #20865: Enforce proper min/max values for latitude & longitude

📊 Changes

3 files changed (+72 additions, -0 deletions)

View changed files

netbox/dcim/migrations/0216_latitude_longitude_validators.py (+67 -0)
📝 netbox/dcim/models/devices.py (+2 -0)
📝 netbox/dcim/models/sites.py (+3 -0)

📄 Description

Fixes: #20865

Add minimum & maximum value validators for the latitude and longitude fields on Site and Device.


🔄 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/20872 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/24/2025 **Status:** ✅ Merged **Merged:** 11/25/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `20865-lat-long-validation` --- ### 📝 Commits (1) - [`8fdbf4f`](https://github.com/netbox-community/netbox/commit/8fdbf4f6029c9a78cbeee6b79cc4b740cee62d90) Fixes #20865: Enforce proper min/max values for latitude & longitude ### 📊 Changes **3 files changed** (+72 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `netbox/dcim/migrations/0216_latitude_longitude_validators.py` (+67 -0) 📝 `netbox/dcim/models/devices.py` (+2 -0) 📝 `netbox/dcim/models/sites.py` (+3 -0) </details> ### 📄 Description ### Fixes: #20865 Add minimum & maximum value validators for the `latitude` and `longitude` fields on Site and Device. --- <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:25:39 +01:00
adam closed this issue 2025-12-30 00:25:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16074