[sqlalchemy] Re: Why does SA (only 0.6.x) read data from n:m relationships when updating the parent table?

2010-07-09 Thread Ralph Heinkel
Hi Michael, I've just installed this package, and it works fine for me. Thanks for fixing the problem. Ciao ciao Ralph On Jul 7, 6:37 pm, Michael Bayer mike...@zzzcomputing.com wrote: can you try out the latest hg tip for me please, I still feel like releasing this today:

Re: [sqlalchemy] Re: Why does SA (only 0.6.x) read data from n:m relationships when updating the parent table?

2010-07-09 Thread David Gardner
I just noticed this behavior as well, and confirm that the tar.gz that was posted fixed the problem, and doesn't introduce any problems either. On 07/09/2010 05:20 AM, Ralph Heinkel wrote: Hi Michael, I've just installed this package, and it works fine for me. Thanks for fixing the problem.

[sqlalchemy] documentation correction on declarative mixin

2010-07-09 Thread Randy Syring
http://www.sqlalchemy.org/docs/reference/ext/declarative.html#controlling-table-inheritance-with-mixins In the second example, Engineer has __tablename__ = None But, I think the point of that section, is that it wouldn't be needed. __tablename__ in Tablename should assign None anyway, shouldn't

[sqlalchemy] auto create slug - sessionextension?

2010-07-09 Thread Fernando
hello, I'm trying to auto-fill a slug column based on title after creation. Since the slug column is unique i need to check other records to avoid duplication. I've tried a couple of things with sessionextension but with no avail. Has anyone done smth similar? Any ideas or directions? Thanks a

[sqlalchemy] Re: alchemy-migrate with DeclarativeBase

2010-07-09 Thread Steven Wei
On Jun 17, 4:00 am, Francisco Souza franci...@franciscosouza.net wrote: But do I do this?  Part of the problem is that I don't know of a way to generate tables other than  create_all() (or drop_all()) when using declarative syntax.  Is there another way? Hi Shane :) When you bind your

Re: [sqlalchemy] documentation correction on declarative mixin

2010-07-09 Thread Michael Bayer
On Jul 9, 2010, at 4:32 PM, Randy Syring wrote: http://www.sqlalchemy.org/docs/reference/ext/declarative.html#controlling-table-inheritance-with-mixins In the second example, Engineer has __tablename__ = None But, I think the point of that section, is that it wouldn't be needed.