Update models.py

parent e27bcc49
......@@ -11,9 +11,9 @@ class Artist(models.Model):
class Album(models.Model):
album_name = models.CharField(max_length=100)
artist = models.ForeignKey(Artist, on_delete=models.CASCADE)
desciption = models.IntegerField()
description = models.IntegerField()
release_date = models.CharField(max_length=100)
label = models.CharField(max_length=100)
label = models.CharField(max_length=100, null = True)
song_count = models.PositiveIntegerField()
......
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