Re: Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
Thanks Brian, Reposted: http://groups.google.com/group/django-users/t/2ccf2bb1dc06058e On Jul 2, 8:47 am, Brian Rosner <[EMAIL PROTECTED]> wrote: > On Jul 2, 2008, at 9:08 AM, John Boxall wrote: > > > > > But in NFA - it seems the save method isn't called! >

Re: Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
to return > > super(YourModelForm, self).save(commit) > > in it. > > On Jul 2, 9:10 am, John Boxall <[EMAIL PROTECTED]> wrote: > > > Hi everyone! > > > I'm just trying out newforms admin - it's fantastic. I can't wait > > until this make

Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
Hi everyone! I'm just trying out newforms admin - it's fantastic. I can't wait until this makes it's way into trunk - A question - I'd like to add custom behavior when a object is saved in the admin console. I'm following this example of how to add custom behaviour to validate an object: http:/