[PR #20618] [MERGED] Closes #20617: Introduce BaseModel #15982

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20618
Author: @jeremystretch
Created: 10/17/2025
Status: Merged
Merged: 10/20/2025
Merged by: @jeremystretch

Base: featureHead: 20617-BaseModel


📝 Commits (1)

📊 Changes

1 file changed (+26 additions, -15 deletions)

View changed files

📝 netbox/netbox/models/__init__.py (+26 -15)

📄 Description

Closes: #20617

  • Introduces the new abstract BaseModel class
  • ChangeLoggedModel & NetBoxModel now inherit from BaseModel
  • OrganizationalModel now inherits from NetBoxModel (and indirectly from BaseModel)

🔄 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/20618 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/17/2025 **Status:** ✅ Merged **Merged:** 10/20/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `20617-BaseModel` --- ### 📝 Commits (1) - [`ea15404`](https://github.com/netbox-community/netbox/commit/ea154041d11ba200b4b8729b8c8af3d0a0a93743) Closes #20617: Introduce BaseModel ### 📊 Changes **1 file changed** (+26 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/models/__init__.py` (+26 -15) </details> ### 📄 Description ### Closes: #20617 - Introduces the new abstract BaseModel class - ChangeLoggedModel & NetBoxModel now inherit from BaseModel - OrganizationalModel now inherits from NetBoxModel (and indirectly from BaseModel) --- <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:09 +01:00
adam closed this issue 2025-12-30 00:25:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15982