Re: save_formset in Admin prevents deleting children

2015-11-15 Thread Mike Dewhirst
On 16/11/2015 4:32 PM, Mike Dewhirst wrote: I've been trying to figure out why I can't delete child records displayed in the Admin. Finally tracked it down to this method in admin.py which when commented out restores the ability to check the Delete box and get rid of the child record on clicking

Re: save_formset in admin

2009-05-08 Thread Tim Sawyer
On Friday 08 May 2009 12:39:59 Alex Gaynor wrote: > On Fri, May 8, 2009 at 1:38 PM, Tim Sawyer wrote: > > Hi, > > > > > > I'm overriding save_formset in a subclass of ModelAdmin. This worked fine > > using svn 9382, but I've just updated to svn 10674 and it's not working. > > > This was fixed earl

Re: save_formset in admin

2009-05-08 Thread Alex Gaynor
On Fri, May 8, 2009 at 1:38 PM, Tim Sawyer wrote: > Hi, > > > I'm overriding save_formset in a subclass of ModelAdmin. This worked fine > using svn 9382, but I've just updated to svn 10674 and it's not working. > > > def save_formset(self, request, form, formset, change): > """ > Stamp the model a