Removed verbose_name in song_length

Realized it was unnecessary since the duration field automatically converts it to minutes and seconds.
parent 55c67c19
...@@ -35,7 +35,7 @@ class Song(models.Model): ...@@ -35,7 +35,7 @@ class Song(models.Model):
song_title = models.CharField(max_length=255) song_title = models.CharField(max_length=255)
artist = models.ForeignKey(Artist, on_delete=models.CASCADE) artist = models.ForeignKey(Artist, on_delete=models.CASCADE)
album = models.ForeignKey(Album, on_delete=models.CASCADE) album = models.ForeignKey(Album, on_delete=models.CASCADE)
song_length= models.DurationField(verbose_name="Song Length (in seconds)") song_length= models.DurationField()
music_video = models.BooleanField(verbose_name="Music Video?", default=False ) music_video = models.BooleanField(verbose_name="Music Video?", default=False )
lyrics = models.TextField(blank=True, null=True) lyrics = models.TextField(blank=True, null=True)
......
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