Commit fdf8c2e0 authored by Brian Guadalupe's avatar Brian Guadalupe

Add EntryTag class

parent 67c5f265
...@@ -8,6 +8,6 @@ class Tag(models.Model): ...@@ -8,6 +8,6 @@ class Tag(models.Model):
def __str__(self): def __str__(self):
return self.name return self.name
class TagEntry(models.Model): class EntryTag(models.Model):
tag = models.ForeignKey(Tag) tag = models.ForeignKey(Tag)
music_entry = models.ForeignKey(MusicEntry) music_entry = models.ForeignKey(MusicEntry)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment