Upgrade to Django 6.0 #11927

Open
opened 2025-12-29 21:51:36 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Dec 15, 2025).

Proposed Changes

Move from Django 5.2 to 6.0. Judging from the release notes, I don't believe this requires any substantial adaptations, but further investigation is needed.

Django 6.0 drops support for Python < 3.12, which we've already done for NetBox v4.5 (see #19889).

Justification

Django 6.0 introduces native support for content security policies, template partials, and background tasks. Although we may not immediately adopt these features, making them available unblocks development and evaluation efforts.

Originally created by @jeremystretch on GitHub (Dec 15, 2025). ### Proposed Changes Move from Django 5.2 to 6.0. Judging from the [release notes](https://docs.djangoproject.com/en/6.0/releases/6.0/), I don't believe this requires any substantial adaptations, but further investigation is needed. Django 6.0 drops support for Python < 3.12, which we've already done for NetBox v4.5 (see #19889). ### Justification Django 6.0 introduces native support for content security policies, template partials, and background tasks. Although we may not immediately adopt these features, making them available unblocks development and evaluation efforts.
adam added the type: housekeepingstatus: blockednetboxneeds milestone labels 2025-12-29 21:51:37 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 15, 2025):

This is currently blocked by django-prometheus.

@jeremystretch commented on GitHub (Dec 15, 2025): This is currently blocked by [django-prometheus](https://github.com/django-commons/django-prometheus/issues/494).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11927