diff --git a/portfolio/migrations/0006_alter_project_short_description.py b/portfolio/migrations/0006_alter_project_short_description.py new file mode 100644 index 0000000..ada4c9f --- /dev/null +++ b/portfolio/migrations/0006_alter_project_short_description.py @@ -0,0 +1,18 @@ +# Generated by Django 6.1.1 on 2026-10-01 19:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('portfolio', '0005_projecttag_project_tags'), + ] + + operations = [ + migrations.AlterField( + model_name='project', + name='short_description', + field=models.TextField(max_length=512, verbose_name='Short description'), + ), + ] diff --git a/portfolio/models.py b/portfolio/models.py index 47ea94e..8d617df 100644 --- a/portfolio/models.py +++ b/portfolio/models.py @@ -77,7 +77,7 @@ class Project(models.Model): name = models.CharField( verbose_name=_("Name"), max_length=256, null=False, blank=False ) - short_description = models.CharField( + short_description = models.TextField( verbose_name=_("Short description"), max_length=512, blank=False, null=False ) url = models.URLField(verbose_name=_("URL"), blank=True, null=False)