I would like to use validating fields connections, but ONLY when delete action is performed. What should I do to validate that fields given in form via admin, chech them and if something is wrong - display errors in admin. I use custom ModelForm as admin form, but have no idea how to check in it's validation if it's deleting or saving. Maybe I could use delete_model built in admin - but how to display errors within it?
-- 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...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.