> > >The delete select action uses the queryset's delete method [1], which > >means the model's delete method is not called. > > >It's not a bug, the behaviour is documented on the admin actions page. [2] > > >Cheers, > >Alasdair > > >[1]: > >https://docs.djangoproject.com/en/dev/topics/db/queries/#deleting-objects<https://docs.djangoproject.com/en/dev/topics/db/queries/#deleting-objects> > >[2]: > > >https://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#admin-actions<https://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#admin-actions> > > >-- > >Alasdair Nicol > >Developer, MEMSET > > >mail: alasd...@memset.com > > web: http://www.memset.com/ > > >Memset Ltd., registration number 4504980. 25 Frederick Sanger Road, > Guildford, Surrey, GU2 7YD, UK >
Oh my, looks like I should read the documentation more carefully. Thank you very much for the help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-8N590JX9egJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.