1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

added default values for comments and color fields on tag

This commit is contained in:
John Anderson
2019-02-20 03:56:32 -05:00
parent fc2bb724fa
commit 0a06d92c2e
2 changed files with 7 additions and 4 deletions

View File

@ -870,9 +870,12 @@ class ObjectChange(models.Model):
class Tag(TagBase):
color = ColorField()
color = ColorField(
default='9e9e9e'
)
comments = models.TextField(
blank=True
blank=True,
default=''
)