[Django]-Assign multiple tags to one entry

4👍

As one tag can have many entries and vice versa, you will want to add a ManyToMany field.

0👍

I would create another class in the Model to support this.

class tagEntryJoins(models.Model): 
     tag = models.ForeignKey('Tag')
     entry = models.ForeignKey('entry') 
👤Dean

Leave a comment