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

Django 5 fixes #6

Merged
merged 4 commits into from
May 31, 2024
Merged

Django 5 fixes #6

merged 4 commits into from
May 31, 2024

Conversation

ColeDCrawford
Copy link

  • Remove pytz (deprecated in Django 5) and use the native datetime and ZoneInfo instead
  • Fix field reference in the Consumer models and update error handling for CatchpyProfile postsave signal

Replacing pytz with ZoneInfo from Python's standard library as Django 5.0 deprecates pytz.
prime_profile should be parent_profile

Improves error handling of the receiver handler. The old handler was simpler but made some assumptions about the existence and state of the prime_consumer attribute.
@ColeDCrawford ColeDCrawford requested a review from d-flood May 30, 2024 13:52
3.8 is EOL in October but easy enough to support it until then.
@d-flood d-flood merged commit 4059d96 into django-package May 31, 2024
1 check failed
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