Add transaction handling to Changelist list_editable processing.
It seems that changelist_view
in Django admin is missing a transaction. Since the view may change data in database, it should be wrapped in a transaction to prevent unexpected states in case of errors.
Change History
(8)
Summary: |
Changelist view in admin is missing transaction → Add transaction handling to Changelist list_editable processing.
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Bug → New feature
|
Owner: |
changed from nobody to Shubh Parmar
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
So, this has never been wrapped in a transaction.
See https://github.com/django/django/commit/7bc0878922 where it was added.
Happy to accept as a New Feature to investigate adding that. (I can't immediately see any obvious blockers.)