Archive for February 19, 2010

Multiple recursive many-to-many relationships in djangos ORM

These don’t work – who knew. At least I think this the case

The problem is that the link-backs are constructive from the class name (and can’t be overridden) – so if you has a recursive many link for Majig to itself then an instance of majig has a majig_set attribute for the link-backs. But what happens when you have two such relations.

Advertisements

February 19, 2010 at 11:58 pm Leave a comment


February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728