Re: Generic Relations: questions

2010-08-19 Thread tsmets
The more generic is yr model, the more you will find these. and of course these join tables can grow exponentially ! What you can do is add extra fields to navigate faster or allow partitioning of the table (it helps but not in all circumstances) IMHO Unless you are working for Yahoo/Google/FB/...

Generic Relations: questions

2010-08-18 Thread v0idnull
I asked a while back about having generic relations and someone pointed me to http://docs.djangoproject.com/en/1.2/ref/contrib/contenttypes/#generic-relations This wasn't what I was looking for. What I was looking for is this model I made: class Relationship(models.Model): id = fields.UU