Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#899 closed defect (fixed)

DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired

Reported by: Daniel Krol Owned by:
Priority: minor Milestone: 0.7.0
Component: infrastructure Keywords:
Cc: Parent Tickets:

Description

I got that when running:

./bin/gmg dbupdate

For the first time. I'm on:

da537ed44ef855954696a18dccd832feb6e56328

Attachments (1)

899_fix_wtforms_required_to_inputrequired.patch (13.7 KB ) - added by loic_le.ninan 10 years ago.
This patch switches from Required to InputRequired (and not DataRequired as suggested by the warning message), following the documentation's recommandation here : http://wtforms.readthedocs.org/en/latest/validators.html#wtforms.validators.DataRequired

Download all attachments as: .zip

Change History (4)

by loic_le.ninan, 10 years ago

This patch switches from Required to InputRequired (and not DataRequired as suggested by the warning message), following the documentation's recommandation here : http://wtforms.readthedocs.org/en/latest/validators.html#wtforms.validators.DataRequired

comment:1 by loic_le.ninan, 10 years ago

Status: newreview

comment:2 by Christopher Allan Webber, 10 years ago

Resolution: fixed
Status: reviewclosed

Looks good. Merged!

comment:3 by Christopher Allan Webber, 10 years ago

Milestone: 0.7.0
Note: See TracTickets for help on using tickets.