[PR #19297] [MERGED] Fixes #19204: Use DjangoJSONEncoder for Job data #15597

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19297
Author: @jeremystretch
Created: 4/23/2025
Status: Merged
Merged: 4/23/2025
Merged by: @jnovinger

Base: mainHead: 19204-script-data-serialization


📝 Commits (1)

📊 Changes

2 files changed (+20 additions, -1 deletions)

View changed files

netbox/core/migrations/0013_job_data_encoder.py (+17 -0)
📝 netbox/core/models/jobs.py (+3 -1)

📄 Description

Fixes: #19204

Use DjangoJSONEncoder for the data JSONField on the Job model for better serialization support


🔄 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/19297 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/23/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `19204-script-data-serialization` --- ### 📝 Commits (1) - [`e19f8bb`](https://github.com/netbox-community/netbox/commit/e19f8bbf86a66086b9cf30e7705bc5d08d703806) Fixes #19204: Use DjangoJSONEncoder for Job data ### 📊 Changes **2 files changed** (+20 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `netbox/core/migrations/0013_job_data_encoder.py` (+17 -0) 📝 `netbox/core/models/jobs.py` (+3 -1) </details> ### 📄 Description ### Fixes: #19204 Use DjangoJSONEncoder for the `data` JSONField on the Job model for better serialization support --- <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:22:55 +01:00
adam closed this issue 2025-12-30 00:22:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15597