mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 15:07:35 +01:00
Fix validation error in release form on incomplete URL
This commit is contained in:
parent
64dab0c4b6
commit
a8a3067ac9
@ -55,7 +55,7 @@ class CreatePackageReleaseForm(FlaskForm):
|
||||
|
||||
class EditPackageReleaseForm(FlaskForm):
|
||||
title = StringField("Title", [InputRequired(), Length(1, 30)])
|
||||
url = StringField("URL", [URL()])
|
||||
url = StringField("URL", [Optional()])
|
||||
task_id = StringField("Task ID", filters = [lambda x: x or None])
|
||||
approved = BooleanField("Is Approved")
|
||||
min_rel = QuerySelectField("Minimum Minetest Version", [InputRequired()],
|
||||
|
Loading…
Reference in New Issue
Block a user