Allowed Empty Fields

parent 60b3a21d
......@@ -4,7 +4,7 @@ from django.urls import reverse
# Create your models here.
class Artist(models.Model):
artist_name = models.CharField(max_length=50)
birth_name = models.TextField()
birth_name = models.TextField(blank=True, null=True)
monthly_listeners = models.IntegerField()
bio = models.CharField(max_length=700)
......@@ -12,7 +12,7 @@ class Album(models.Model):
album_name = models.CharField(max_length=50)
artist = models.CharField(max_length=50)
description = models.TextField()
release_date = models.DateTimeField()
release_date = models.DateField()
label = models.TextField()
song_count = models.IntegerField()
......
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