I am searching a way to avoid this kind of ticket in web2py : <class 'psycopg2.IntegrityError'> ERREUR: UPDATE ou DELETE sur la table « table2 » viole la contrainte de clé étrangère « table3_field2t3_fkey » de la table « table3 » DETAIL: La clé (id)=(1) est toujours référencée à partir de la table « table3 ».
See this thread : https://mail.google.com/mail/?shva=1#search/ondelete/13b86b9d988ec725 Thanks Richard On Tue, Dec 11, 2012 at 6:33 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you explain us what is the purpose of this code? --