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

Don't cause RemovedInDjango50Warning in handle_timezone with Django 4.2. #1581

Merged

Conversation

lewiscollard
Copy link
Contributor

@lewiscollard lewiscollard commented May 22, 2023

Fixes #1580.

Unless USE_DEPRECATED_PYTZ is present and True, we should not be passing the is_dst argument.

Fixes carltongibson#1580.

Unless USE_DEPRECATED_PYTZ is present and True, we should not be passing the
is_dst parameter.
@codecov-commenter
Copy link

codecov-commenter commented May 23, 2023

Codecov Report

Merging #1581 (1c79a21) into main (b84d0ec) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1581   +/-   ##
=======================================
  Coverage   98.58%   98.58%           
=======================================
  Files          15       15           
  Lines        1271     1271           
=======================================
  Hits         1253     1253           
  Misses         18       18           
Impacted Files Coverage Δ
django_filters/utils.py 100.00% <100.00%> (ø)

Copy link
Owner

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks @lewiscollard — let's have this.

Whilst you're in here, if you fancied looking at bb7198d and having a think about whether the skipped tests there can be updated (or simply dropped at some point) that would be cool. (I didn't have mental space for it at the time, I do admit.)

Welcome aboard! ⛵

@carltongibson carltongibson merged commit f38dcdd into carltongibson:main May 23, 2023
7 checks passed
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.

handle_timezone is giving RemovedInDjango50Warning on Django 4.2
3 participants