mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
default value to None for WTForm backward compatibility
This commit is contained in:
parent
632dff8c60
commit
fdbc4c0447
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ class BillForm(FlaskForm):
|
||||||
original_currency = SelectField(_("Currency"), validators=[DataRequired()])
|
original_currency = SelectField(_("Currency"), validators=[DataRequired()])
|
||||||
external_link = URLField(
|
external_link = URLField(
|
||||||
_("External link"),
|
_("External link"),
|
||||||
|
default=None,
|
||||||
validators=[Optional(), URL()],
|
validators=[Optional(), URL()],
|
||||||
description=_("A link to an external document, related to this bill"),
|
description=_("A link to an external document, related to this bill"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue