I've a simple m2m relation of User and Client model in my Django 1.7 application. The m2m field is declared inside the Client model.
I wish to validate the User value of m2m relation when I save or update a Client instance. My validation consists to check if the User has some properties, if true save Client and the 2m2 relation, if false, raise a ValidationError.
Where I should put this logic?? I need to create an intermediate m2m model??