openfun / jitsi-magnify

An authentication and room management system for Jitsi built with Django/React
MIT License
23 stars 6 forks source link

✅(backend) replace deprecated TimeZoneField.get_default_zoneinfo_tzs #238

Closed jbpenrath closed 12 months ago

jbpenrath commented 12 months ago

Purpose

Since django-timezone-field version 6, the static method get_default_zoneinfo_tzs has been removed from the class TimeZoneField. As we were using this method within our factories, our test suites were broken. So we decide to install pytz and retrieve all existing timezones from this library to replace the deprecated method.

Proposal