Add missing max_length to CharField

This commit is contained in:
Kumi 2021-01-17 16:47:55 +01:00
parent bc03763a3a
commit c9dbd0baca

View file

@ -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)