Re: cross-referencing design question

2009-07-27 Thread Mike Dewhirst
Daniel and Matthias Thanks for your help. I finally figured out I don't need any automatic Django n:m at all! I just made my own n:m table and everything works the way I expect. I'll really try to keep things simple from now on ... Cheers Mike Mike Dewhirst wrote: > Matthias Kestenholz wrote

Re: cross-referencing design question

2009-07-27 Thread Mike Dewhirst
Please disregard my previous - I've got something happening/hatching Thanks Matthias and Daniel Mike Mike Dewhirst wrote: > Matthias Kestenholz wrote: > > > >> Is this your complete Membership model? Or do you have additional >> fields there? If you've only got these two foreign keys, it mig

Re: cross-referencing design question

2009-07-27 Thread Mike Dewhirst
Matthias Kestenholz wrote: > Is this your complete Membership model? Or do you have additional > fields there? If you've only got these two foreign keys, it might be > better to use a many to many field that references the same model ( > ManyToManyField('self') ) Thanks Matthias - exactly what

Re: cross-referencing design question

2009-07-24 Thread Daniel Roseman
On Jul 24, 5:46 am, Mike Dewhirst wrote: > I'm new to Django and want to express a self-referencing design > feature to link clients in the same table with each other. Django is > currently objecting to this. Could you please point me to > documentation which will let me figure it out? > > This i

Re: cross-referencing design question

2009-07-23 Thread Matthias Kestenholz
Hey, On Fri, Jul 24, 2009 at 6:46 AM, Mike Dewhirst wrote: > > I'm new to Django and want to express a self-referencing design > feature to link clients in the same table with each other. Django is > currently objecting to this. Could you please point me to > documentation which will let me figur

cross-referencing design question

2009-07-23 Thread Mike Dewhirst
I'm new to Django and want to express a self-referencing design feature to link clients in the same table with each other. Django is currently objecting to this. Could you please point me to documentation which will let me figure it out? This is my models.py in a play project using Django from sv