Hello, I would like to avoid this traceback :
IntegrityError: ERREUR: UPDATE ou DELETE sur la table « ref_fnaregistry » viole la contrainte de clé étrangère « fnaregistry_id » de la table « ref_vregistry » DETAIL: La clé (fnaregistry_id)=(1) est toujours référencée à partir de la table « ref_vregistry ». ERROR SNAPSHOT <class 'psycopg2.IntegrityError'>(ERREUR: UPDATE ou DELETE sur la table « ref_fnaregistry » viole la contrainte de clé étrangère « fnaregistry_id » de la table « ref_vregistry » DETAIL: La clé (fnaregistry_id)=(1) est toujours référencée à partir de la table « ref_vregistry ». Sorry for the french traceback ;-) How to tell web2py that a record can't be delete cause it is referenced by an other record in an other tables... Do I have to write a proper function to manage that scenario or there is a way to add "delete validator" or something to the model?? If there is no "deletion validators" at all, it could be a GREAT new feature ;-) Thank you Richard

