Skip to main content

Extra fields and utilities for mongoengine.

Project description

mongoengine-extras is a collection of fields (and possibly other features later) not included in MongoEngine, and which do not necessarily need to be included in MongoEngine.

Currently the only features are two fields, a SlugField (as found in Django) and an AutoSlugField. The latter is designed to enforce a unique, auto- incremented slug value. It should be used in the same way as the AutoSlugField in django-extensions, although it’s not quite there yet. For now you simply provide the field with the source string and the field will store a unique, auto-incremented slug.

Installing

With setuptools installed, python setup.py install from source.

Dependencies

mongoengine-extras requires MongoEngine (which requires pymongo).

Tests

The tests can by run with python setup.py test. Tests require a MongoDB database running on the standard port.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mongoengine-extras-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file mongoengine-extras-0.0.1.tar.gz.

File metadata

File hashes

Hashes for mongoengine-extras-0.0.1.tar.gz
Algorithm Hash digest
SHA256 056c357187a6dcadfe824417a0fb7b02a1d59a56bc864a165e877a31d4711c0c
MD5 2a29c22538ea41fdf027a5354f072ff1
BLAKE2b-256 222139800d153535b4dbd87cbb2d24549979cb5e60c6cace30d547a9a2d7ab84

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page