On Feb 14, 2006, at 9:55 AM, gizo wrote:
Each Song can have Many Player/Instrument combinations (where each
musician could play any instrument, in theory)

Give this a shot::

        class Musician(meta.Model):
                ...

        class Instrument(meta.Model):
                ...

        class Band(meta.Model):
                ...

        class BandMember(meta.Model):
                band = meta.ForeignKey(Band, edit_inline=meta.STACKED)
                musician = meta.ForeignKey(Musician)
                instruments = meta.ManyToManyField(Instrument)

(Something pretty similar to this is what we use for the band database on lawrence.com, and it works well).

Jacob

Reply via email to