Switch to zoneinfo timezone library #7192

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

Originally created by @jeremystretch on GitHub (Nov 2, 2022).

Proposed Changes

Remove the USE_DEPRECATED_PYTZ setting from settings.py. Django will default to using timezones source from the zoneinfo library.

Justification

pytz support is being dropped in Django 5.0, and its use has been deprecated.

Originally created by @jeremystretch on GitHub (Nov 2, 2022). ### Proposed Changes Remove the `USE_DEPRECATED_PYTZ` setting from `settings.py`. Django will default to using timezones source from the zoneinfo library. ### Justification pytz support is being dropped in Django 5.0, and its use has been deprecated.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:20:20 +01:00
adam closed this issue 2025-12-29 20:20:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7192