On Sep 22, 2013, at 5:24 PM, jpeck <[email protected]> wrote:

> 
> And replace it with something like this:
>     class Keyword(Base):
>         .... snip  (same as before) ....
>     
>     class Foo(Base):
>         .... snip  ....
>         keywords = generate_many_to_many_for_me('Foo', 'Keyword')

there's a recipe for this at this blog post, you might consider building on 
it's general example:    http://techspot.zzzeek.org/2011/05/17/magic-a-new-orm/

the missing link is to just use mapping events to set things up at the 
appropriate time.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to