RE: Saving multiple records from admin list page

2011-02-15 Thread Chris Matthews
Hi Sithembewena, If you want to monitor changes to tables then you might also be interested in keeping audit/history records. See the book ProJango by Marty Alchin Chapter 11 (page 263 onwards) and http://qr7.com/2010/10/django-simple-history-ftw/ by Corey Bertram Regards Chris From: django-

Re: Saving multiple records from admin list page

2011-02-15 Thread Sithembewena Lloyd Dube
Courtesy of Django docs, by the way: http://docs.djangoproject.com/en/1.2/ref/contrib/admin/actions/ On Tue, Feb 15, 2011 at 11:47 AM, Sithembewena Lloyd Dube wrote: > Solution found: I simply added a function call to the mailing function in > each action definition in admin.py as follows: > >

Re: Saving multiple records from admin list page

2011-02-15 Thread Sithembewena Lloyd Dube
Solution found: I simply added a function call to the mailing function in each action definition in admin.py as follows: actions = ['staking_approved', 'staking_in_process', 'staking_rejected', 'staking_review_later'] def save_model(self, request, obj, form, change): staking_r