#29319 closed Bug (invalid)
post_delete signals is sent before objects are deleted
| Reported by: | Nicolas Ippolito | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 2.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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...
Change History (3)
comment:1 by , 8 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 8 years ago
| Summary: | post_delete signals is → post_delete signals is sent before objects are deleted |
|---|
Note:
See TracTickets
for help on using tickets.
The
post_deletesignal is correctly sent once the objects are deleted from the database.Django hasn't been deleting files referenced by
FileFieldon model deletion since Django 1.3.Please re-open with more details if I missed something.