From 38fdfc1e90fa87174d91e30472a162d4107b5d6a Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sat, 31 Jul 2021 23:29:56 -0400 Subject: [PATCH] Marginally more flexible input constraints --- writing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/writing.py b/writing.py index 71a14e7..3b98a93 100644 --- a/writing.py +++ b/writing.py @@ -16,7 +16,7 @@ class CLForm(Form): default="Sage Bernerner" ) company = StringField('Company:', - [validators.Length(min=4, max=99)], + [validators.Length(min=2, max=99)], default="BananaCorp" ) jobandpronoun = StringField('Job and Pronoun (a/an):', @@ -24,15 +24,15 @@ class CLForm(Form): default="a banana stocker" ) skilltypes = StringField('Skill Type:', - [validators.Length(min=4, max=99)], + [validators.Length(min=2, max=99)], default="practical" ) myskills = StringField('My Skills:', - [validators.Length(min=4, max=99)], + [validators.Length(min=2, max=99)], default="stocking bananas" ) closingtext = TextAreaField('Closing Text:', - [validators.Length(min=4, max=99)], + [validators.Length(min=2, max=99)], default="I look forward to hearing from you" )