[PR #18822] [MERGED] Closes #18743: Upgrade to Django 5.2 #15447

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18822
Author: @jeremystretch
Created: 3/5/2025
Status: Merged
Merged: 3/13/2025
Merged by: @bctiemann

Base: featureHead: 18743-django-52


📝 Commits (3)

📊 Changes

4 files changed (+18 additions, -16 deletions)

View changed files

📝 base_requirements.txt (+1 -1)
📝 mkdocs.yml (+1 -6)
📝 netbox/netbox/middleware.py (+13 -6)
📝 requirements.txt (+3 -3)

📄 Description

Closes: #18743

  • Bumps Django from 5.1 to 5.2
  • Adapts RemoteUserMiddleware to use the newer middleware format for Django 5.2

We're currently running Django 5.2 beta1 as the final release is not yet available (ETA April 2).

Note: Django 5.2 drops support for PostgreSQL 13. This will be addressed under #18820.


🔄 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/18822 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/5/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `feature` ← **Head:** `18743-django-52` --- ### 📝 Commits (3) - [`962d660`](https://github.com/netbox-community/netbox/commit/962d660c2c825d801579de62fed4f0723d7838a0) Closes #18743: Upgrade to Django 5.2 - [`3dda471`](https://github.com/netbox-community/netbox/commit/3dda4716e7b3ee522fd2cc9d2f9261bff4f3d681) Adapt RemoteUserMiddleware for Django 5.2 - [`19703f7`](https://github.com/netbox-community/netbox/commit/19703f7d69f286110f73b6566cca530de5511ed5) Fixes: #18568 Update mkdocstrings and adapt config ### 📊 Changes **4 files changed** (+18 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+1 -1) 📝 `mkdocs.yml` (+1 -6) 📝 `netbox/netbox/middleware.py` (+13 -6) 📝 `requirements.txt` (+3 -3) </details> ### 📄 Description ### Closes: #18743 - Bumps Django from 5.1 to 5.2 - Adapts `RemoteUserMiddleware` to use the newer middleware format for Django 5.2 We're currently running Django 5.2 beta1 as the final release is not yet available (ETA April 2). Note: Django 5.2 drops support for PostgreSQL 13. This will be addressed under #18820. --- <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:21:58 +01:00
adam closed this issue 2025-12-30 00:21:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15447