Ticket #242 (closed defect: fixed)
Deleting a POTD from the admin doesn't invoke Photo.delete
| Reported by: | brian | Owned by: | brian |
|---|---|---|---|
| Priority: | major | Milestone: | Post Rollout |
| Component: | Photo of the Day | Version: | Beta |
| Keywords: | Cc: |
Description
When you delete items from an admin changelist, it apparently calls delete() on the queryset, which does all the deleting in the database. It does not call delete() on the individual objects in the queryset.
Because of this, our customized logic in Photo.delete() is not getting called.
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in r578. Moved the updating of the Sequence object into a signals module. Listen for post_save and post_delete.