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

Added support for zoneinfo objects #849

Open
wants to merge 1 commit into
base: 1.21.x
Choose a base branch
from

Conversation

nikvst
Copy link

@nikvst nikvst commented May 18, 2023

Same fix as #717, but for zoneinfo objects.

I ran into a problem because django is migrating from pytz to ZoneInfo and is planning to remove pytz support from django 5.0.

If this change requires tests, where should I add them?

Thanks

@nikvst nikvst changed the title add support for working with zoneinfo object field Add support for working with zoneinfo object field May 18, 2023
@nikvst nikvst changed the title Add support for working with zoneinfo object field Added support for zoneinfo objects Jun 5, 2023
src/drf_yasg/utils.py Outdated Show resolved Hide resolved
@nikvst nikvst force-pushed the add-support-for-zoneinfo-timezone-field branch from bc02a0d to 0c73a90 Compare December 5, 2023 07:46
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