Skip to content

snahor/wtforms-mongoengine

Repository files navigation

WTForms-Mongoengine

Build Status

WTForms-Mongoengine is a fork of Flask-Mongoengine without the Flask dependency.

This package provides additional fields like:

ModelSelectField
ModelSelectMultipleField
QuerySetSelectField
QuerySetSelectMultipleField

Also, you can generate forms from models with model_form.

Examples:

from wtforms_mongoengine import model_form
from mongoengine import Document, StringField


class Foo(Document):
    bar = StringField()

Form = model_form(Foo)

About

WTForms fields for Mongoengine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published