Skip to content

Commit 6a14b8a

Browse files
committed
Fix inconsistent release title validation
1 parent 594b477 commit 6a14b8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/blueprints/packages/releases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CreatePackageReleaseForm(FlaskForm):
5858

5959
class EditPackageReleaseForm(FlaskForm):
6060
name = StringField(lazy_gettext("Name"), [InputRequired(), Length(1, 30)])
61-
title = StringField(lazy_gettext("Title"), [InputRequired(), Length(1, 30)], filters=[nonempty_or_none])
61+
title = StringField(lazy_gettext("Title"), [InputRequired(), Length(1, 100)], filters=[nonempty_or_none])
6262
release_notes = TextAreaField(lazy_gettext("Release Notes"), [Optional(), Length(1, 5000)],
6363
filters=[nonempty_or_none, normalize_line_endings])
6464
url = StringField(lazy_gettext("URL"), [Optional()])

0 commit comments

Comments
 (0)