Lets say i have a Person model and a book model. Each Person can have many books. Person model have PositiveIntegerField that stores, how many books that person has. If new book is added, respective counter is incremented, now i want to modify default admin action - delete_selected, so it would change values of respective counters, but only if i confirm deletion of selected books.

How to override delete_seleted properly?

Sorry for my bad english.
--
Linux user

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to