mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Explicitly mark some CharField as non blank
This commit is contained in:
@ -87,7 +87,10 @@ class Build(models.Model):
|
||||
limit_choices_to={'buildable': True},
|
||||
)
|
||||
|
||||
title = models.CharField(max_length=100, help_text='Brief description of the build')
|
||||
title = models.CharField(
|
||||
blank=False,
|
||||
max_length=100,
|
||||
help_text='Brief description of the build')
|
||||
|
||||
quantity = models.PositiveIntegerField(
|
||||
default=1,
|
||||
|
Reference in New Issue
Block a user