color should be up to 32 characters, fix color migration
This commit is contained in:
parent
20abfe5ad5
commit
8731fd5f11
3 changed files with 27 additions and 2 deletions
|
@ -183,7 +183,7 @@ class LocationGroup(Location, models.Model):
|
|||
category = models.ForeignKey(LocationGroupCategory, related_name='groups', on_delete=models.PROTECT,
|
||||
verbose_name=_('Category'))
|
||||
priority = models.IntegerField(default=0, db_index=True)
|
||||
color = models.CharField(null=True, blank=True, max_length=16, verbose_name=_('background color'))
|
||||
color = models.CharField(null=True, blank=True, max_length=32, verbose_name=_('background color'))
|
||||
|
||||
objects = LocationGroupManager()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue