Skip to content

Meta passed to FlaskForm init may be None #278

@virlos

Description

@virlos

The definition of Form at http://wtforms.readthedocs.io/en/latest/forms.html#wtforms.form.Form.__init__ has meta=None, which should be preserved by subclasses.

Since 0.14, Flask-WTF assumes that meta is a dict if present in kwargs. This breaks wtforms-json, which preserve the WTForms default.

See also kvesteri/wtforms-json#47.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions