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

file validators correctly identify empty data #277

Merged
merged 1 commit into from
Jan 10, 2017
Merged

file validators correctly identify empty data #277

merged 1 commit into from
Jan 10, 2017

Commits on Jan 10, 2017

  1. file validators correctly identify empty data

    closes #276
    
    - `FileField` is no longer deprecated. The data is checked during
      processing and only set if it's a valid file.
    - `has_file` *is* deprecated; it's now equivalent to
      `bool(field.data).
    - `FileRequired` and `FileAllowed` work with both the Flask-WTF and
      WTForms `FileField` classes.
    - The `Optional` validator now works with `FileField`.
    davidism committed Jan 10, 2017
    Configuration menu
    Copy the full SHA
    4d0bd60 View commit details
    Browse the repository at this point in the history