The TemporaryFileUpload records related to a submission block the removal of the submission via the admin interface.
Instead, I'd expect these to be cascade deleted along with the submission itself.
The DB model specifies on_delete=models.CASCADE - the model admin has ReadOnlyAdminMixin but maybe this is too much? It was done in 145c22d17457f5f34d45678bb6ab4082d782569c
Product versie / Product version
2.8.0, possibly 2.7 too
Customer reference
Taiga DH 704
Omschrijf het probleem / Describe the bug
The
TemporaryFileUpload
records related to a submission block the removal of the submission via the admin interface.Instead, I'd expect these to be cascade deleted along with the submission itself.
The DB model specifies
on_delete=models.CASCADE
- the model admin hasReadOnlyAdminMixin
but maybe this is too much? It was done in 145c22d17457f5f34d45678bb6ab4082d782569cStappen om te reproduceren / Steps to reproduce
No response
Verwacht gedrag / Expected behavior
No response
Screen resolution
None
Device
None
OS
None
Browser
No response