GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MongoEngine/flask-mongoengine: MongoEngine flask extension with WTF model forms support

BranchesTags
Open more actions menu

Latest commit

 

History

969 Commits
969 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
example_app
example_app
 
 
flask_mongoengine
flask_mongoengine
 
 
tests
tests
 
 
.codeclimate.yml
.codeclimate.yml
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.markdownlint.json
.markdownlint.json
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
.sourcery.yaml
.sourcery.yaml
 
 
AUTHORS.md
AUTHORS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
codecov.yml
codecov.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
noxfile.py
noxfile.py
 
 
pyproject.toml
pyproject.toml
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

Flask-MongoEngine

PyPI version CI Tests Documentation Status Maintainability Test Coverage PyPI - Downloads

Flask-MongoEngine is a Flask extension that provides integration with MongoEngine, WtfForms and FlaskDebugToolbar.

Installation

By default, Flask-MongoEngine will install integration only between Flask and MongoEngine. Integration with WTFForms and FlaskDebugToolbar are optional and should be selected as extra option, if required. This is done by users request, to limit amount of external dependencies in different production setup environments.

All methods end extras described below are compatible between each other and can be used together.

Installation with MongoEngine only support

# For Flask >= 2.0.0
pip install flask-mongoengine

We still maintain special case for Flask = 1.1.4 support (the latest version in 1.x.x branch). To install flask-mongoengine with required dependencies use legacy extra option.

# With Flask 1.1.4 dependencies
pip install flask-mongoengine[legacy]

Installation with WTFForms and Flask-WTF support

Flask-mongoengine can be installed with Flask-WTF and WTFForms support. This will extend project dependencies with Flask-WTF, WTFForms and related packages.

# With Flask-WTF and WTFForms dependencies
pip install flask-mongoengine[wtf]

Installation with Flask Debug Toolbar support

Flask-mongoengine provide beautiful extension to FlaskDebugToolbar allowing to monitor all database requests. To use this extension FlaskDebugToolbar itself required. If you need to install flask-mongoengine with related support, use:

# With FlaskDebugToolbar dependencies
pip install flask-mongoengine[toolbar]

Installation with all features together

# With Flask-WTF, WTFForms and FlaskDebugToolbar dependencies
pip install flask-mongoengine[wtf,toolbar]

Flask configuration

Flask-mongoengine does not provide any configuration defaults. User is responsible for setting up correct database settings, to exclude any possible misconfiguration and data corruption.

There are several options to set connection. Please note, that all except recommended are deprecated and may be removed in future versions, to lower code base complexity and bugs. If you use any deprecated connection settings approach, you should update your application configuration.

Please refer to complete connection settings description for more info.

Usage and API documentation

Full project documentation available on read the docs.

Contributing and testing

We are welcome for contributors and testers! Check Contribution guidelines.

License

Flask-MongoEngine is distributed under BSD 3-Clause License.

About

MongoEngine flask extension with WTF model forms support

Topics

flaskmongoenginemongondbwtforms

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

827 stars

Watchers

28 watching

Forks

245 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.