From 269110551333f4e63b8602e89bd3c5a9ea1296c9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 9 Jan 2019 22:44:23 +0000 Subject: [PATCH] Remove limit on provides field --- app/views/packages/packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/packages/packages.py b/app/views/packages/packages.py index f6dba18..7ce4169 100644 --- a/app/views/packages/packages.py +++ b/app/views/packages/packages.py @@ -171,7 +171,7 @@ class PackageForm(FlaskForm): type = SelectField("Type", [InputRequired()], choices=PackageType.choices(), coerce=PackageType.coerce, default=PackageType.MOD) license = QuerySelectField("License", [InputRequired()], query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name) media_license = QuerySelectField("Media License", [InputRequired()], query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name) - provides_str = StringField("Provides (mods included in package)", [Optional(), Length(0,1000)]) + provides_str = StringField("Provides (mods included in package)", [Optional()]) tags = QuerySelectMultipleField('Tags', query_factory=lambda: Tag.query.order_by(db.asc(Tag.name)), get_pk=lambda a: a.id, get_label=lambda a: a.title) harddep_str = StringField("Hard Dependencies", [Optional()]) softdep_str = StringField("Soft Dependencies", [Optional()])