populated the database

parent 864ccfcd
# Generated by Django 4.1.6 on 2023-02-20 07:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Homepage', '0006_album_label_album_song_count_artist_bio_and_more'),
]
operations = [
migrations.AlterField(
model_name='album',
name='album_name',
field=models.CharField(max_length=10000),
),
migrations.AlterField(
model_name='album',
name='description',
field=models.CharField(max_length=100000),
),
migrations.AlterField(
model_name='artist',
name='birth_name',
field=models.CharField(max_length=100000),
),
migrations.AlterField(
model_name='song',
name='music_video',
field=models.BooleanField(),
),
]
......@@ -5,7 +5,7 @@ from django.urls import reverse
class Artist(models.Model):
artist_name = models.CharField(max_length=50)
monthly_listeners = models.IntegerField()
birth_name = models.CharField(max_length=50)
birth_name = models.CharField(max_length=100000)
bio = models.CharField(max_length=700)
def __str__(self):
......
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