Commit 069311aa authored by Ysabella Panghulan's avatar Ysabella Panghulan

added birth name and bio in Artist model

parent 0b2df483
......@@ -3,6 +3,9 @@ from django.db import models
class Artist(models.Model):
artist_name = models.CharField(max_length = 50)
monthly_listeners = models.IntegerField(default = 0)
birth_name = models.CharField(max_length = 50, null = True, blank = True)
bio = models.TextField(max_length = 700, null = True, blank = True)
class Album(models.Model):
artist = models.ForeignKey(Artist, on_delete = models.CASCADE)
......
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