MongoEngine / flask-mongoengine

MongoEngine flask extension with WTF model forms support
Other
841 stars 254 forks source link

Restricted: passing arguments on fields definition in WTF compatible mode (Fixes: #379) #481

Closed insspb closed 2 years ago

insspb commented 2 years ago

In some cases/fields passed arguments can be considered as additional, unexpected requirement for form. So, to exclude such behavior we are restricting passing direct arguments for all fields.

All arguments should be passed as keyword pair, to exclude such problems.