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:
@ -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=''
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user