[sqlalchemy] Re: making crud with assign_mapper

2007-02-07 Thread yi huang
If you have the time and know how, do you know what the efficient way to iterate through all the class definitions in a module would be to grab all the classes that have a certain member? Ie If I add this field to an orm class class Page: admin_fields = [blahblah] then I want to

[sqlalchemy] got problems where map to selectable

2007-02-05 Thread yi huang
The tables are: user_t = Table('users', meta, Column('id', Integer, primary_key=True), Column('name', String(20), nullable=False), ) post_t = Table('posts', meta, Column('id', Integer, primary_key=True), Column('author_id', Integer, ForeignKey('users.id')),