#29319: post_delete signals is
-------------------------------------+-------------------------------------
     Reporter:  Nicolas Ippolito     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * 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>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.3059752a40dfe6eff9b623ab02e9b490%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to