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
[x] Install pytz as deps dependency
[x] Replace deprecated get_default_zoneinfo_tzs by a comprehension list based on pytz
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
get_default_zoneinfo_tzs
by a comprehension list based on pytz