On Tue, 20 Sep 2011 09:32:09 -0400
Michael Bayer <[email protected]> wrote:
>
> On Sep 20, 2011, at 9:28 AM, Enrico Morelli wrote:
>
> >
> > Thanks, I tried to put passive_deletes='all' in the relationships:
> >
>
> sorry, 'pdb':relationship(Pdb, backref=backref('metal',
> passive_deletes='all'))
>
> more docs that I'd recommend:
>
> http://www.sqlalchemy.org/docs/orm/relationships.html#linking-relationships-with-backref
>
>
>
>
Thanks, all works fine.
--
-------------------------------------------------------------------
(o_
(o_ //\ Coltivate Linux che tanto Windows si pianta da solo.
(/)_ V_/_
+------------------------------------------------------------------+
| ENRICO MORELLI | email: [email protected] |
| * * * * | phone: +39 055 4574269 |
| University of Florence | fax : +39 055 4574253 |
| CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY |
+------------------------------------------------------------------+
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.