Add missing max_length to CharField
This commit is contained in:
parent
bc03763a3a
commit
c9dbd0baca
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue