The post_delete signals is sent before objects are really deleted. For
exemple, for "Document" objects, the file is not yet removed in the file
system...
--
Ticket URL: <https://code.djangoproject.com/ticket/29319>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
> The post_delete signals is sent before objects are really deleted.
The `post_delete` signal is correctly sent once the objects are deleted
from the database.
> For exemple, for "Document" objects, the file is not yet removed in the
file system...
Django hasn't been deleting files referenced by `FileField` on model
deletion [https://docs.djangoproject.com/en/2.0/releases/1.3/#deleting-a
-model-doesn-t-delete-associated-files since Django 1.3].
Please re-open with more details if I missed something.
--
Ticket URL: <https://code.djangoproject.com/ticket/29319#comment:1>
--
Ticket URL: <https://code.djangoproject.com/ticket/29319#comment:2>
Comment (by Nicolas Ippolito):
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/29319#comment:3>