Skip to content
MongoEngine flask extension with WTF model forms support
Python HTML
Find file
Latest commit a842dc5 @losintikfos losintikfos Merge pull request #197 from Nobatek/dev_JL_wtforms_InputRequired
Use InputRequired validator instead of Required for required field

README.rst

Flask-MongoEngine

Info:MongoEngine for Flask web applications.
Repository:https://github.com/MongoEngine/flask-mongoengine
https://travis-ci.org/MongoEngine/flask-mongoengine.svg?branch=master

About

Flask-MongoEngine is a Flask extension that provides integration with MongoEngine. It handles connection management for your app. You can also use WTForms as model forms for your models.

Documentation

You can find the documentation at https://flask-mongoengine.readthedocs.org

Installation

You can install this package using pypi: pip install flask-mongoengine

Tests

To run the test suite, ensure you are running a local copy of Flask-MongoEngine and run: python setup.py nosetests.

To run the test suite on every supported versions of Python, PyPy and MongoEngine you can use tox. Ensure tox and each supported Python, PyPy versions are installed in your environment:

# Install tox
$ pip install tox
# Run the test suites
$ tox

To run a single or selected test suits, use the nosetest convention. E.g.

$ python setup.py nosetests --tests tests/example_test.py:ExampleTestClass.example_test_method

Contributing

We welcome contributions! see the Contribution guidelines

License

Flask-MongoEngine is distributed under MIT license, see LICENSE for more details.

Something went wrong with that request. Please try again.