#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)
Change History (4)
by , 11 years ago
| Attachment: | 899_fix_wtforms_required_to_inputrequired.patch added |
|---|
comment:1 by , 11 years ago
| Status: | new → review |
|---|
comment:3 by , 11 years ago
| Milestone: | → 0.7.0 |
|---|
Note:
See TracTickets
for help on using tickets.

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