Set a default color

remotes/origin/enhancement/email-actions
David Barragán Merino 2013-04-26 10:22:09 +02:00
parent 5e502ffb42
commit af893793bb
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def attach_unique_reference(sender, instance, **kwargs):
class User(AbstractUser):
color = models.CharField(max_length=9, null=False, blank=False,
color = models.CharField(max_length=9, null=False, blank=False, default="#669933",
verbose_name=_('color'))
description = models.TextField(null=False, blank=True,
verbose_name=_('description'))