Re: overridden delete method not being called on cascade

2009-12-03 Thread Brian Neal
On Dec 3, 12:53 pm, "eric.frederich" wrote: > ... > > The problem now it that when I delete an Offering object through the > Django admin it cascade deletes the Enrollment objects as it should > but it is not calling the delete method and thus restoring their > interest.

overridden delete method not being called on cascade

2009-12-03 Thread eric.frederich
I have a training application I wrote using Django. Users can express interest in a course and then enroll in an offering of that course. I have been overriding the save() and delete() methods of my Enrollment and Interest models so that that following happens. 1. When a user enrolls in an