Skip to content

chore: Bump upper bounds on wtforms and flask-wtf#1904

Merged
dpgaspar merged 3 commits intodpgaspar:masterfrom
tm-drtina:update-wtforms
Aug 17, 2022
Merged

chore: Bump upper bounds on wtforms and flask-wtf#1904
dpgaspar merged 3 commits intodpgaspar:masterfrom
tm-drtina:update-wtforms

Conversation

@tm-drtina
Copy link
Contributor

Description

Replaced TextField with StringField (deprecated since wtforms=2).
Added **kwargs to Field process method (backwards compatible with wtforms=2).
Bumped upper bounds on flask-wtf and wtforms.

Based on #1734 which is stalled for a few months

ADDITIONAL INFORMATION

  • Has associated issue:
  • Is CRUD MVC related.
  • Is Auth, RBAC security related.
  • Changes the security db schema.
  • Introduces new feature
  • Removes existing feature

Copy link
Owner

@dpgaspar dpgaspar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

We should change the docs to adapt to the new breaking change for QuerySelectField and TextField on https://github.com/dpgaspar/Flask-AppBuilder/blob/master/docs/advanced.rst

@dpgaspar dpgaspar mentioned this pull request Aug 17, 2022
6 tasks
@dpgaspar dpgaspar merged commit b010cde into dpgaspar:master Aug 17, 2022
@tm-drtina tm-drtina deleted the update-wtforms branch August 17, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants