Re: Help With Modeling This

2007-11-06 Thread Joe
You could also add some functions to the models to add pull the related data class TagItem(models.Model): ... def get_related_artists(self): # pull the data return data That function is available in the template and can be called inline so to speak. Joe On Nov 6, 12:40 pm, "[EMAIL PROTE

Re: Help With Modeling This

2007-11-06 Thread Tim Chase
> I've run into a problem trying to model something in Django > and could use some advice. In a nutshell, I'm trying to > relate a single table to multiple (other) tables using a > single foreign key field and foreign key type. I'm aware of > the manytomany relationship type of Django but I don'

Help With Modeling This

2007-11-06 Thread [EMAIL PROTECTED]
I've run into a problem trying to model something in Django and could use some advice. In a nutshell, I'm trying to relate a single table to multiple (other) tables using a single foreign key field and foreign key type. I'm aware of the manytomany relationship type of Django but I don't think th