`transaction.on_commit(None)`
and run any sample tests which has simple django db post_save signal in
the flow and it has functions which run on transaction commit, the code
would crash with error
`TypeError: 'NoneType' object is not callable`.
So how about if we do not allow it to register as none beforehand or allow
it to exit gracefully?
--
Ticket URL: <https://code.djangoproject.com/ticket/32108>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Herbert Poul
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/13556 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32108#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32108#comment:4>