From c9dbd0baca217aaea1ba99079f9eb27693845f4e Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 17 Jan 2021 16:47:55 +0100 Subject: [PATCH] Add missing max_length to CharField --- habits/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/habits/models.py b/habits/models.py index 2ce83df..f9ff7af 100644 --- a/habits/models.py +++ b/habits/models.py @@ -11,7 +11,7 @@ from common.fields import WeekdayField, DayOfMonthField class Habit(models.Model): name = models.CharField(max_length=64) - icon = models.CharField(default="fas fa-user-clock") + icon = models.CharField(default="fas fa-user-clock", max_length=64) color = ColorField(default="#000000") description = models.TextField(null=True, blank=True)