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

Fix: import script crashes on datetime object #441

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Andrew-Dickinson
Copy link
Member

It's unclear why these keep surfacing (#392 being the other recent example). But for some reason we didn't catch these earlier?

We definitely want date objects, not datetime ones, Django rejects datetime objects on date fields, idk why this ever worked

@Andrew-Dickinson
Copy link
Member Author

Also something mypy would probably catch if we didn't have it disabled on import stuff 😓

@Andrew-Dickinson Andrew-Dickinson merged commit 0e1b434 into main Aug 1, 2024
10 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.

2 participants