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.
It would be easier if you used the database to c
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
2 matches
Mail list logo