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
> 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'
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
3 matches
Mail list logo