Skip to content
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

Remove warning: The django.utils.timezone.utc alias is deprecated. Please update your code to use datetime.timezone.utc instead. #1775

Closed
rafalp opened this issue Jul 28, 2024 · 1 comment · Fixed by #1816
Assignees
Labels
area: backend This issue involves Python, Django or dependency (eg. database) help wanted

Comments

@rafalp
Copy link
Owner

rafalp commented Jul 28, 2024

Django removed utc from django.utils.timezone and raises warnings if you try to use it.

We should update our codebase to import utc from datetime.timezone instead.

@rafalp rafalp added help wanted area: backend This issue involves Python, Django or dependency (eg. database) labels Jul 28, 2024
@rafalp rafalp assigned rafalp and unassigned rafalp Sep 5, 2024
@raydeal
Copy link
Contributor

raydeal commented Sep 5, 2024

hi, I can work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend This issue involves Python, Django or dependency (eg. database) help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants