Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
332 stars 77 forks source link

Add support for Django 5 #158

Closed scastlara closed 6 months ago

scastlara commented 6 months ago

Django 5.0 removed the alias to datetime.timezone.utc.

See: https://docs.djangoproject.com/en/5.0/releases/5.0/#features-removed-in-5-0

You would get this error when viewing the admin:

image

closes #159

scastlara commented 6 months ago

Shall we exclude python < 3.10 for Django 5 in the test matrix?

https://docs.djangoproject.com/en/5.0/releases/5.0/#python-compatibility

Django 5.0 supports Python 3.10, 3.11, and 3.12

amureki commented 6 months ago

@scastlara hey Sergio! Thanks for the issue and PR solving it right away!

Yes, I think this is a way to go. Test matrix should reflect official Django compatibility requirements.

amureki commented 6 months ago

Thanks again!

This is released under 0.11.6.