This commit is contained in:
Cayo Puigdefabregas 2022-05-12 10:05:37 +02:00
parent cba3bca8cf
commit eac90d32cf
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ class AllocateForm(ActionFormMix):
transaction = StringField( transaction = StringField(
'Transaction', [validators.Optional(), validators.length(max=50)] 'Transaction', [validators.Optional(), validators.length(max=50)]
) )
end_users = IntegerField('End users', [validators.Optional()]) end_users = IntegerField('Number of end users', [validators.Optional()])
def validate(self, extra_validators=None): def validate(self, extra_validators=None):
if not super().validate(extra_validators): if not super().validate(extra_validators):