-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.0 - No time zone found with key Pacific/Kanto #82
Comments
From python zone info doc The zoneinfo module provides a concrete time zone implementation to support the IANA time zone database as originally specified in PEP 615. By default, zoneinfo uses the system’s time zone data if available; if no system time zone data is available, the library will fall back to using the first-party tzdata package available on PyPI. I had to explicitly add tzdata to my project dependencies, closing the issue |
Had the exact same issue:
And Maybe add this to documentation in upgrade instructions? |
Thanks for reporting this. I'll push an update to the README mentioning
this today
…On Wed, Feb 9, 2022, 4:45 AM Johannes la Poutre ***@***.***> wrote:
Had the exact same issue:
- Django 4.0.2
- Python 3.10.2
- error: No time zone found with key Pacific/Kanton
And pip install tzdata did work
Maybe ad this to documentation?
—
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAARCDSVZWJOQONWRAYTREDU2JOXHANCNFSM5N5A5NSA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Got the same issue, I guess you should add this dependency as an optional like |
Hi, I just upgraded to django-timezone-field 5.0 and have the migrations failing on DB + Tables creation
Django : 4.0.2
Python : 3.10.0
Using official 3.10-slim-bullseye docker image
Model code :
Traceback :
The text was updated successfully, but these errors were encountered: