Skip to content

Commit

Permalink
modify title length for portfolio/models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Oct 19, 2024
1 parent e35c1da commit ae00227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portfolio/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class TYPE(models.TextChoices):
default=TYPE.STUDY,
verbose_name=_("Type"),
)
title = models.CharField(blank=False, max_length=50, verbose_name=_("Title"))
title = models.TextField(blank=False, verbose_name=_("Title"))
content = models.TextField(blank=False, verbose_name=_("Content"))
site_name = models.CharField(blank=True, max_length=50, verbose_name=_("Site Name"))
class_link = models.URLField(blank=True, verbose_name=_("Site Link"))
Expand Down

0 comments on commit ae00227

Please sign in to comment.