Commit 94bc6fdc authored by Ysabella Panghulan's avatar Ysabella Panghulan

added music_video and lyrics in Song model

parent b68de4de
......@@ -15,9 +15,10 @@ class Album(models.Model):
label = models.CharField(max_length = 255, null=True, blank=True)
song_count = models.IntegerField(default = 0)
class Song(models.Model):
song_title = models.CharField(max_length = 50)
artist = models.ForeignKey(Artist, on_delete = models.CASCADE)
album = models.ForeignKey(Album, on_delete = models.CASCADE)
song_length = models.IntegerField(default = 0)
music_video = models.BooleanField(default=False)
lyrics = models.TextField(null=True, blank=True)
\ 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