[sqlalchemy] Re: mapping of Wordpress taxonomy tables

2008-05-06 Thread Max Ischenko
On 5 май, 11:55, Max Ischenko [EMAIL PROTECTED] wrote: Hello, My python app uses Wordpress blog database and my sqlalchemy mappings recently broke due to Wordpress update. Can someone pls help to map the following taxonomy tables into SA? I've tried to follow Specifying Alternate Join

[sqlalchemy] Re: mapping of Wordpress taxonomy tables

2008-05-06 Thread Michael Bayer
On May 6, 2008, at 3:19 AM, Max Ischenko wrote: On 5 май, 11:55, Max Ischenko [EMAIL PROTECTED] wrote: Hello, My python app uses Wordpress blog database and my sqlalchemy mappings recently broke due to Wordpress update. Can someone pls help to map the following taxonomy tables into SA?

[sqlalchemy] Re: mapping of Wordpress taxonomy tables

2008-05-06 Thread Max Ischenko
On 5/6/08, Michael Bayer [EMAIL PROTECTED] wrote: mapper(WordpressPost, wp_posts_tbl, properties={ 'categories': relation(WordpressTaxonomy, primaryjoin= and_(wp_terms_taxonomy_tbl.c.taxonomy=='category', wp_term_relationships_tbl

[sqlalchemy] Re: mapping of Wordpress taxonomy tables

2008-05-06 Thread Michael Bayer
On May 6, 2008, at 11:12 AM, Max Ischenko wrote: Then I think this is a typo here: http://www.sqlalchemy.org/docs/04/mappers.html#advdatamapping_relation_customjoin_fks thanks this is fixed on the site and in r4663. --~--~-~--~~~---~--~~ You received this