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

Closes #2159: Allow custom choice field to specify a default choice

This commit is contained in:
Jeremy Stretch
2018-06-29 16:01:28 -04:00
parent 8008015082
commit 3e9cec3e8e
3 changed files with 11 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ class CustomField(models.Model):
default = models.CharField(
max_length=100,
blank=True,
help_text='Default value for the field. Use "true" or "false" for booleans. N/A for selection fields.'
help_text='Default value for the field. Use "true" or "false" for booleans.'
)
weight = models.PositiveSmallIntegerField(
default=100,