[PR #15319] [MERGED] Fixes #15220: Move IP mask validation logic from form to model #14571

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15319
Author: @jeremystretch
Created: 2/29/2024
Status: Merged
Merged: 3/1/2024
Merged by: @jeremystretch

Base: developHead: 15220-ip-bulk-edit-validation


📝 Commits (1)

  • e9ce737 Fixes #15220: Move IP mask validation logic from form to model

📊 Changes

2 files changed (+19 additions, -14 deletions)

View changed files

📝 netbox/ipam/forms/model_forms.py (+0 -14)
📝 netbox/ipam/models/ip.py (+19 -0)

📄 Description

Fixes: #15220

  • Moves the logic for validating IP address mask from the form to the model

🔄 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/15319 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/29/2024 **Status:** ✅ Merged **Merged:** 3/1/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15220-ip-bulk-edit-validation` --- ### 📝 Commits (1) - [`e9ce737`](https://github.com/netbox-community/netbox/commit/e9ce73780243bfe138bc985862bf12e084dfcfa6) Fixes #15220: Move IP mask validation logic from form to model ### 📊 Changes **2 files changed** (+19 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/forms/model_forms.py` (+0 -14) 📝 `netbox/ipam/models/ip.py` (+19 -0) </details> ### 📄 Description ### Fixes: #15220 - Moves the logic for validating IP address mask from the form to the model --- <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 23:25:15 +01:00
adam closed this issue 2025-12-29 23:25:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14571