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 pytz as a dependency. #170

Merged
merged 1 commit into from Apr 1, 2021
Merged

Remove pytz as a dependency. #170

merged 1 commit into from Apr 1, 2021

Conversation

LincolnPuzey
Copy link
Collaborator

python and django are moving away from pytz - see PEP 615 and https://groups.google.com/g/django-developers/c/PtIyadoC-fI/m/SJG5JX4dCQAJ.
This means modern projects can use dirtyfields without installing pytz.
Also import django.utils.timezone as django_timezone so the name doesn't clash with datetime.timezone.

python and django are moving away from pytz - see PEP 615 and https://groups.google.com/g/django-developers/c/PtIyadoC-fI/m/SJG5JX4dCQAJ.
This means modern projects can use dirtyfields without installing pytz.
Also import django.utils.timezone as `django_timezone` so the name doesn't clash with `datetime.timezone`.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 99.213% when pulling 0e2f02d on remove_pytz into 87ca5bf on develop.

@LincolnPuzey LincolnPuzey merged commit 56a13f7 into develop Apr 1, 2021
@LincolnPuzey LincolnPuzey deleted the remove_pytz branch April 24, 2021 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants