Commit 58598ab0 authored by Julia Anishka's avatar Julia Anishka

incresed max length characters for album description

parent 0a96579f
# Generated by Django 3.2 on 2023-02-20 16:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('homepage', '0003_alter_artist_bio'),
]
operations = [
migrations.AlterField(
model_name='album',
name='description',
field=models.TextField(max_length=100),
),
]
......@@ -13,7 +13,7 @@ class Artist(models.Model):
class Album(models.Model):
album_name = models.CharField(max_length = 50)
artist = models.ForeignKey(Artist, on_delete=models.CASCADE)
description = models.TextField(max_length = 100)
description = models.TextField(max_length = 700)
release_date = models.DateField("date released")
label = models.CharField(max_length = 100, null=True, blank=True)
song_count = models.IntegerField(default = 0)
......
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