You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running the new 1.8.0 my project now throws this error:
>>> from datetime.timezone import utc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'datetime.timezone'; 'datetime' is not a package
I guess #169 was a bit too eager since timezone.utc is just an attribute on timezone and thus not importable.
The text was updated successfully, but these errors were encountered:
Python Version
3.10
Django Version
4.1
Package Version
1.8.0
Description
After running the new 1.8.0 my project now throws this error:
I guess #169 was a bit too eager since
timezone.utc
is just an attribute ontimezone
and thus not importable.The text was updated successfully, but these errors were encountered: