fixed models.py

parent 4f70a67a
...@@ -4,7 +4,7 @@ class Artist(models.Model): ...@@ -4,7 +4,7 @@ class Artist(models.Model):
artist_name = models.CharField(max_length = 50, unique = True) artist_name = models.CharField(max_length = 50, unique = True)
monthly_listners = models.IntegerField monthly_listners = models.IntegerField
birth_name = models.CharField(max_length = 50, unique = True) birth_name = models.CharField(max_length = 50, unique = True)
bio = models.TextField(max_length = 700) bio = models.TextField(max_length = 700, default = "no default")
class Album(models.Model): class Album(models.Model):
album_name = models.CharField(max_length = 50, unique = True) album_name = models.CharField(max_length = 50, unique = 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