How to validate data after the deletion of an inline instance ?
25 views
Skip to first unread message
Serge Alard
unread,
May 14, 2021, 9:10:53 AM5/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello
I am using a formset to validate inline forms in django administration. To validate my data I am using the method clean() but when I delete an inline object the data are validated before the deletion. How can I validate my data after the deletion ? How can I know that my inline object is deleted in the validation method clean() ? Thanks in advance to help me.
Serge Alard
P.S. : This message is the same as the one I posted yesterday but I corrected grammatical mistake.