HTTP/2 200
date: Tue, 30 Dec 2025 07:31:45 GMT
content-type: text/html; charset=utf-8
server: cloudflare
cf-ray: 9b5fd6dcbc47b155-BLR
cf-cache-status: HIT
access-control-allow-origin: *
cache-control: max-age=1200
content-encoding: gzip
etag: W/"390bffd938ecb1a171ea006bc1d89431"
last-modified: Wed, 09 Apr 2025 21:23:54 GMT
vary: Accept-Encoding
access-control-allow-methods: HEAD, OPTIONS, GET
cdn-cache-control: public
cross-origin-opener-policy: same-origin
referrer-policy: no-referrer-when-downgrade
x-amz-id-2: /rOLdrHX+xNlFiDgNodKTSP5KOwSRMC9XJnET2sZVH6WSdYLZaBQ6xOt3sd5hx4nJ90mIH9mXxc=
x-amz-meta-mtime: 1744233831.712637691
x-amz-request-id: N9HM3J2PX7XM6GDG
x-amz-server-side-encryption: AES256
x-backend: web-i-055b62346e1ea73b4
x-content-type-options: nosniff
x-rtd-domain: docs.mongoengine.org
x-rtd-force-addons: true
x-rtd-path: /proxito/html/mongoengine-odm/latest/index.html
x-rtd-project: mongoengine-odm
x-rtd-project-method: custom_domain
x-rtd-resolver-filename: /
x-rtd-version: latest
x-rtd-version-method: path
x-served: Nginx-Proxito-Sendfile
set-cookie: __cf_bm=YEIZuqMipHHsTFZ5ZHpwFObdCJN6QUHBcgfmRtGT1v8-1767079905-1.0.1.1-AIhrtb2t7d8KO912wlna_cfztTLFAb6kMm10ATd9WKBL.xmUx.AXmVTfetN4in5sKH8ztc86tpuV38AvHhd3PBO69HZn_xLFPex3oC6miO8; path=/; expires=Tue, 30-Dec-25 08:01:45 GMT; domain=.docs.mongoengine.org; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=8lLR51r7DwGmZDnQTuZspl.PiFJaOkxlTUhhkCwI6Xs-1767079905653-0.0.1.1-604800000; path=/; domain=.docs.mongoengine.org; HttpOnly; Secure; SameSite=None
alt-svc: h3=":443"; ma=86400
MongoEngine User Documentation — MongoEngine 0.29.0 documentation
MongoEngine
MongoEngine User Documentation
MongoEngine is an Object-Document Mapper, written in Python for working with
MongoDB. To install it, simply run
$ python -m pip install -U mongoengine
Tutorial A quick tutorial building a tumblelog to get you up and running with
MongoEngine.
User Guide The Full guide to MongoEngine — from modeling documents to storing files,
from querying for data to firing signals and everything between.
API Reference The complete API documentation — the innards of documents, querysets and fields.
Frequently Asked Questions Frequently Asked Questions
Django Support Using MongoEngine and Django
MongoDB and driver support
MongoEngine is based on the PyMongo driver and tested against multiple versions of MongoDB.
For further details, please refer to the readme .
Contributing
Yes please! We are always looking for contributions, additions and improvements.
The source is available on GitHub
and contributions are always encouraged. Contributions can be as simple as
minor tweaks to this documentation, the website or the core.
To contribute, fork the project on
GitHub and send a
pull request.
Changes
See the Changelog for a full list of changes to MongoEngine.
Offline Reading
Download the docs in pdf
or epub
formats for offline reading.