Re: Newforms-Admin: cleaner way to allow developers to do Form pre-save/post-save work

2008-05-04 Thread Alen Ribic
> whats wrong with overridng save, then calling the super.save() ? Technically, nothing wrong :-). It would be cleaner, in my opinion, if the developer just defined a pre_save() and post_save() methods without needing to wrap and return super.save() calls all the time. Also, there is the repeti

Re: Newforms-Admin: cleaner way to allow developers to do Form pre-save/post-save work

2008-05-03 Thread phillc
whats wrong with overridng save, then calling the super.save() ? On May 2, 8:10 am, Alen Ribic <[EMAIL PROTECTED]> wrote: > At the moment, it doesn't seem that a developers can do pre-save/post- > save work cleanly when dealing with Forms in NewForms Admin using > django.newforms.models.ModelForm

Newforms-Admin: cleaner way to allow developers to do Form pre-save/post-save work

2008-05-02 Thread Alen Ribic
At the moment, it doesn't seem that a developers can do pre-save/post- save work cleanly when dealing with Forms in NewForms Admin using django.newforms.models.ModelForm. For instance, if I'd like to send a notification email to a client once a form has been submitted for the first time (add_view)