Commit 0d3b092e authored by RJC's avatar RJC

set Song model music_video default to False

parent af434836
...@@ -26,7 +26,7 @@ class Song(models.Model): ...@@ -26,7 +26,7 @@ class Song(models.Model):
artist = models.ForeignKey(Artist, related_name='song', on_delete=models.CASCADE, null=True) artist = models.ForeignKey(Artist, related_name='song', on_delete=models.CASCADE, null=True)
album = models.ForeignKey(Album, related_name='song', on_delete=models.CASCADE, null=True) album = models.ForeignKey(Album, related_name='song', on_delete=models.CASCADE, null=True)
song_length = models.IntegerField(null=True) song_length = models.IntegerField(null=True)
music_video = models.BooleanField(null=True) music_video = models.BooleanField(null=True, default=False)
lyrics = models.TextField(blank=True, null=True) lyrics = models.TextField(blank=True, null=True)
def __str__(self): def __str__(self):
return self.song_title return self.song_title
......
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