Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent original shared field_arg values from getting modified #5

Merged
merged 1 commit into from
Mar 27, 2016

Conversation

pawl
Copy link
Contributor

@pawl pawl commented Mar 27, 2016

This pull request prevents a bug that can occur when an user overrides field_args with their own validators and shares those field_args across multiple forms. Wtforms-sqlalchemy will modify the original shared field_args, which can cause duplicate validators.

See this pull request for more details: coleifer/wtf-peewee#30

@pawl pawl merged commit 3f68682 into master Mar 27, 2016
@pawl pawl deleted the fix_field_args branch March 27, 2016 00:49
@davidism davidism added this to the 0.2 milestone Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants