Re: Admin list delete and model delete() method

2011-03-08 Thread galago
So if I'll define delete_model in admin - it will work? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@g

Re: Admin list delete and model delete() method

2011-03-08 Thread Michal Petrucha
> Hi, I have defined delete() method in my model. I use it to clear cache and > delete thumbs. When I delete an element in admin, in it's details (edit > mode) cache is cleared and all thumbs are deleted. > But, when i want to delete several elements at once - checking checkboxes on > the elemen

Admin list delete and model delete() method

2011-03-08 Thread galago
Hi, I have defined delete() method in my model. I use it to clear cache and delete thumbs. When I delete an element in admin, in it's details (edit mode) cache is cleared and all thumbs are deleted. But, when i want to delete several elements at once - checking checkboxes on the elements list -