rsinger86/django-lifecycle

Django 4.x support

Archmonger opened this issue · 2 comments

Currently, Django 4.x is not tested within tox.ini.

Best to update this and check if there are any bugs surrounding Django 4.

There are - sometimes, after an AFTER_SAVE hook is triggered, a db_task is not able to access the object by PK.

Serious one - but not sure of the root cause, will investigate it (perhaps with @jacoduplessis)

There are - sometimes, after an AFTER_SAVE hook is triggered, a db_task is not able to access the object by PK.

Serious one - but not sure of the root cause, will investigate it (perhaps with @jacoduplessis)

You need to add on_commit=True in your hook config. See #97.