Add Flask support for MongoDB using MongoAlchemy.
Project description
Version 0.3
Flask support for MongoDB using MongoAlchemy.
Documentation
If you want to get started, check the example sourcecode out.
For full documentation, see the online docs at: http://packages.python.org/Flask-MongoAlchemy/.
Development
Source hosted at Github
Report issues on Github Issues
Bootstraping the development environment
If you are using a virtualenv, bootstrap your development environment by running:
$ make bootstrap
Running tests
With all dependencies installed (after bootstrap development env), just run:
$ make test
Community
#cobrateam on chanel irc.freenode.net
Changelog
Flask-MongoAlchemy 0.3
Introduced update queries support
Flask-MongoAlchemy 0.2
Reverse compatibility broken on Document class. The get() method was moved to BaseQuery class. Here the old code, on version 0.1:
>>> Document.get(mongo_id)
And the new code, on version 0.2:
>>> Document.query.get(mongo_id)
Added get_or_404, first_or_404 and paginate methods on BaseQuery class. Check the documentation to know how to use them :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.